Aggregation on geopoint.lat grepoint.lon field?

HI

Are we able to find all the document with the same geopoint in terms of lat and lon value. I tried
GET /_search?pretty -d '
{
"aggs":{
"1":{
"terms":{"field":"geo_location.lat"}
}
},
"from": 0,
"size": 1
}'
But seems does not work.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.