Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 1.01 KB

geo-queries.asciidoc

File metadata and controls

36 lines (21 loc) · 1.01 KB

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_shape query

Find document with geo-shapes which either intersect, are contained by, or do not intersect with the specified geo-shape.

geo_bounding_box query

Finds documents with geo-points that fall into the specified rectangle.

geo_distance query

Finds document with geo-points within the specified distance of a central point.

geo_polygon query

Find documents with geo-points within the specified polygon.