mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-29 09:54:06 -04:00
In a few previous PR's we restructured the ES|QL docs to make it possible to generate them dynamically. This PR just moves a few files around to make the query languages docs easier to work with, and a little more organized like the ES|QL docs. A bit part of this was setting up redirects to the new locations, so other repo's could correctly link to the elasticsearch docs.
21 lines
1,007 B
Markdown
21 lines
1,007 B
Markdown
---
|
|
mapped_pages:
|
|
- https://www.elastic.co/guide/en/elasticsearch/reference/current/shape-queries.html
|
|
---
|
|
|
|
# Shape queries [shape-queries]
|
|
|
|
Like [`geo_shape`](/reference/elasticsearch/mapping-reference/geo-shape.md) Elasticsearch supports the ability to index arbitrary two dimension (non Geospatial) geometries making it possible to map out virtual worlds, sporting venues, theme parks, and CAD diagrams.
|
|
|
|
Elasticsearch supports two types of cartesian data: [`point`](/reference/elasticsearch/mapping-reference/point.md) fields which support x/y pairs, and [`shape`](/reference/elasticsearch/mapping-reference/shape.md) fields, which support points, lines, circles, polygons, multi-polygons, etc.
|
|
|
|
The queries in this group are:
|
|
|
|
[`shape`](/reference/query-languages/query-dsl/query-dsl-shape-query.md) query
|
|
: Finds documents with:
|
|
|
|
* `shapes` which either intersect, are contained by, are within or do not intersect with the specified shape
|
|
* `points` which intersect the specified shape
|
|
|
|
|
|
|