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 geopoints that fall into the specified rectangle.
-
geo_distancequery - Finds documents with geopoints within the specified distance of a central point.
-
geo_polygonquery - Find documents with geopoints within the specified polygon.
-
geo_shapequery -
Finds documents with:
- Geoshapes which either intersect, are contained by, or do not intersect with the specified geoshape
- Geopoints which intersect the specified geoshape
© 2023-2025 Elasticsearch
As of September 2024, Elasticsearch is available under a choice of three licenses: the Server Side Public License (SSPL), the Elastic License, or the AGPLv3 (OSI approved).
Elasticsearch and the Elasticsearch logo are trademarks of Elasticsearch B.V., registered in the U.S. and in other countries.
https://www.elastic.co/guide/en/elasticsearch/reference/7.17/geo-queries.html