elasticsearch/docs/reference/query-languages/geo-queries.md
Colleen McGinnis b7e3a1e14b
[docs] Migrate docs from AsciiDoc to Markdown (#123507)
* delete asciidoc files

* add migrated files

* fix errors

* Disable docs tests

* Clarify release notes page titles

* Revert "Clarify release notes page titles"

This reverts commit 8be688648d.

* Comment out edternal URI images

* Clean up query languages landing pages, link to conceptual docs

* Add .md to url

* Fixes inference processor nesting.

---------

Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>
Co-authored-by: Liam Thompson <leemthompo@gmail.com>
Co-authored-by: Martijn Laarman <Mpdreamz@gmail.com>
Co-authored-by: István Zoltán Szabó <szabosteve@gmail.com>
2025-02-27 17:56:14 +01:00

1.5 KiB

mapped_pages
https://www.elastic.co/guide/en/elasticsearch/reference/current/geo-queries.html

Geo queries [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_box query
Finds documents with geoshapes or geopoints which intersect the specified rectangle.
geo_distance query
Finds documents with geoshapes or geopoints within the specified distance of a central point.
geo_grid query
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_polygon query
Find documents with geoshapes or geopoints which intersect the specified polygon.
geo_shape query
Finds documents with geoshapes or geopoints which are related to the specified geoshape. Possible spatial relationships to specify are: intersects, contained, within and disjoint.