Geohash grid aggregation #
A multi-bucket aggregation that groups geo_point values into geohash
cells — the building block of map clustering.
Example #
Precision 2 (~1,250 km cells):
Bucket keys are geohash strings (wt, ws, …) — render them on a map
tile layer.
Parameters for geohash_grid
#
field
(Required, string)geo_pointfield you wish to aggregate.precision
(Optional, integer, default:5) Geohash precision 1–12.size
(Optional, integer, default:10000) Maximum buckets returned.