December 2017
Intermediate to advanced
434 pages
10h 29m
English
Geo distance aggregation helps in creating buckets of distances from a given geo-point. This is better understood using a diagram:

The shaded area in blue represents the area included in the geo distance aggregation.
The following aggregation will form a bucket with all the documents within the given distance from the given geo-point. This corresponds to the first (left) circle in Fig 4.2. The shaded area is from the center up to the given radius, forming a circle:
GET bigginsight/usageReport/_search?size=0{ "aggs": ...Read now
Unlock full access