You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For applications that index spatial data it would be very useful to be able to request an aggregation that would return the bounding box (extent) of the matching hits. A typical use case would be to zoom a map to area containing matching hits.
The text was updated successfully, but these errors were encountered:
The GeoBounds Aggregation is a new single bucket aggregation which outputs the coordinates of a bounding box containing all the points from all the documents passed to the aggregation as well as the doc count. Geobound Aggregation also use a wrap_logitude parameter which specifies whether the resulting bounding box is permitted to overlap the international date line. This option defaults to true.
This aggregation introduces the idea of MetricsAggregation which do not return double values and cannot be used for sorting. The existing MetricsAggregation has been renamed to NumericMetricsAggregation and is a subclass of MetricsAggregation. MetricsAggregations do not store doc counts and do not support child aggregations.
Closes#5634
clintongormley
changed the title
Aggregations: Support bounding box aggregation on geo_shape/geo_point data types.
Support bounding box aggregation on geo_shape/geo_point data types.
Jun 6, 2015
For applications that index spatial data it would be very useful to be able to request an aggregation that would return the bounding box (extent) of the matching hits. A typical use case would be to zoom a map to area containing matching hits.
The text was updated successfully, but these errors were encountered: