Geo queries
Elasticsearch supports two types of geo data: geo_point fields which support lat/lon pairs, and geo_shape fields, which support points, lines, circles, polygons, multi-polygons, etc.
The queries in this group are:
geo_bounding_boxquery- Finds documents with geoshapes or geopoints which intersect the specified rectangle.
geo_distancequery- Finds documents with geoshapes or geopoints within the specified distance of a central point.
geo_gridquery-
Finds documents with:
- Geoshapes or geopoints which intersect the specified geohash
- Geoshapes or geopoints which intersect the specified map tile
- Geopoints which intersect the specified H3 bin
geo_polygonquery- Find documents with geoshapes or geopoints which intersect the specified polygon.
geo_shapequery-
Finds documents with geoshapes or geopoints which are related to the specified geoshape. Possible spatial relationships to specify are: intersects, contained, within and disjoint.