Rename `geohashgrid` to `geohash_grid` in documentation.

It was renamed in fc6bc4c477.

Close #4997
This commit is contained in:
Adrien Grand 2014-02-04 09:39:55 +01:00
parent 1bd9dc129b
commit cc1ff560df
1 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ The specified field must be of type `geo_point` (which can only be set explicitl
{ {
"aggregations" : { "aggregations" : {
"myLarge-GrainGeoHashGrid" : { "myLarge-GrainGeoHashGrid" : {
"geohashgrid" : { "geohash_grid" : {
"field" : "location", "field" : "location",
"precision" : 3 "precision" : 3
} }
@ -74,7 +74,7 @@ When requesting detailed buckets (typically for displaying a "zoomed in" map) a
}, },
"aggregations":{ "aggregations":{
"zoom1":{ "zoom1":{
"geohashgrid" : { "geohash_grid" : {
"field":"location", "field":"location",
"precision":8, "precision":8,
} }