Files
elasticsearch-js/docs/reference/api/AggregationsGeoHashGridAggregation.md
2025-05-28 10:02:30 -05:00

857 B

AggregationsGeoHashGridAggregation [interface-AggregationsGeoHashGridAggregation]

Name Type Description
bounds GeoBounds The bounding box to filter the points in each bucket.
field Field Field containing indexed geo_point or geo_shape values. If the field contains an array, geohash_grid aggregates all array values.
precision GeoHashPrecision The string length of the geohashes used to define cells/buckets in the results.
shard_size integer Allows for more accurate counting of the top cells returned in the final result the aggregation. Defaults to returning max(10,(size x number-of-shards)) buckets from each shard.
size integer The maximum number of geohash buckets to return.