mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 07:37:19 -04:00
Removes `testenv` annotations and related code. These annotations originally let you skip x-pack snippet tests in the docs. However, that's no longer possible. Relates to #79309, #31619
22 lines
761 B
Text
22 lines
761 B
Text
[[shape-queries]]
|
|
[role="xpack"]
|
|
== Shape queries
|
|
|
|
|
|
Like <<geo-shape,`geo_shape`>> 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,`point`>> fields which support x/y pairs, and
|
|
<<shape,`shape`>> fields, which support points, lines, circles, polygons, multi-polygons, etc.
|
|
|
|
The queries in this group are:
|
|
|
|
<<query-dsl-shape-query,`shape`>> 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
|
|
|
|
include::shape-query.asciidoc[]
|