shape-queries.asciidoc 779 B

1234567891011121314151617181920212223
  1. [[shape-queries]]
  2. [role="xpack"]
  3. [testenv="basic"]
  4. == Shape queries
  5. Like <<geo-shape,`geo_shape`>> Elasticsearch supports the ability to index
  6. arbitrary two dimension (non Geospatial) geometries making it possible to
  7. map out virtual worlds, sporting venues, theme parks, and CAD diagrams.
  8. Elasticsearch supports two types of cartesian data:
  9. <<point,`point`>> fields which support x/y pairs, and
  10. <<shape,`shape`>> fields, which support points, lines, circles, polygons, multi-polygons, etc.
  11. The queries in this group are:
  12. <<query-dsl-shape-query,`shape`>> query::
  13. Finds documents with:
  14. * `shapes` which either intersect, are contained by, are within or do not intersect
  15. with the specified shape
  16. * `points` which intersect the specified shape
  17. include::shape-query.asciidoc[]