610 B
610 B
AggregationsGeoDistanceAggregation [interface-AggregationsGeoDistanceAggregation]
| Name | Type | Description |
|---|---|---|
distance_type |
GeoDistanceType | The distance calculation type. |
field |
Field | A field of type geo_point used to evaluate the distance. |
origin |
GeoLocation | The origin used to evaluate the distance. |
ranges |
AggregationsAggregationRange[] | An array of ranges used to bucket documents. |
unit |
DistanceUnit | The distance unit. |