elasticsearch/docs/reference/esql
Craig Taverner a7b38394d9
ESQL: Support ST_DISJOINT (#107007)
* WIP Started developing ST_DISJOINT

Initially based on ST_INTERSECTS

* Fix functions list and add spatial point integration tests

* Update docs/changelog/107007.yaml

* More tests for shapes and cartesian-multigeoms

* Some more tests to highlight issues with DISJOINT on cartesian point indices

* Disable Lucene push-down for DISJOINT on cartesian point indices

* Added docs for ST_DISJOINT

* Support DISJOINT in the lucene-pushdown code for cartesian point indexes

* Re-enable push-to-source for DISJOINT on cartesian_point indices

* Fix docs example

* Try fix internal docs links which are not being rendered

* Fixed disjoint on empty geometry

* Added tests on empty linestring, and changed lucene push-down to exception

In lucene code only LineString can be empty, but in Elasticsearch even that is not allowed, resulting in parsing errors. So we cannot get to this code in the lucene push-down and now throw an error instead. The tests now assert on the warnings.

Note that for any predicate DISJOINT and INTERSECTS alike, the predicate fails, because the parsing error results in null, the function returns null, the predicate interprets this as false, and no documents match. This null-in-null-out rule means that DISJOINT and INTERSECTS give the same answer on invalid geometries.
2024-04-08 12:26:26 +02:00
..
functions ESQL: Support ST_DISJOINT (#107007) 2024-04-08 12:26:26 +02:00
processing-commands Add docs for cross cluster search in ES|QL(#105934) 2024-03-07 13:15:01 -08:00
source-commands ESQL: Add docs for the OPTIONS directive (#107013) 2024-04-03 16:23:36 +02:00
esql-across-clusters.asciidoc Add docs for cross cluster search in ES|QL(#105934) 2024-03-07 13:15:01 -08:00
esql-apis.asciidoc Add ES|QL async query api docs (#104054) 2024-01-09 09:17:02 +00:00
esql-async-query-api.asciidoc Mute ESQL async docs tests (#106294) 2024-03-13 11:08:12 -04:00
esql-async-query-delete-api.asciidoc Add ES|QL async query api docs (#104054) 2024-01-09 09:17:02 +00:00
esql-async-query-get-api.asciidoc Add ES|QL async query api docs (#104054) 2024-01-09 09:17:02 +00:00
esql-commands.asciidoc [DOCS] Getting started with ES|QL queries guide (#101634) 2023-11-03 13:47:09 +01:00
esql-enrich-data.asciidoc [DOCS] ES|QL limitations (#101673) 2023-11-03 13:57:23 +01:00
esql-examples.asciidoc [DOCS] Small ES|QL improvements (#101877) 2023-11-07 17:24:59 +01:00
esql-functions-operators.asciidoc Add two new OGC functions ST_X and ST_Y (#105768) 2024-03-06 11:19:54 +01:00
esql-get-started.asciidoc [DOCS][ESQL] Add link to getting started notebook (#106345) 2024-03-14 17:33:31 +01:00
esql-index-options.asciidoc ESQL: Add docs for the OPTIONS directive (#107013) 2024-04-03 16:23:36 +02:00
esql-kibana.asciidoc ES|QL: Set default query LIMIT to 1000 (#105618) 2024-02-21 09:25:25 +01:00
esql-language.asciidoc ESQL: Add docs for the OPTIONS directive (#107013) 2024-04-03 16:23:36 +02:00
esql-limitations.asciidoc ESQL: Fix error on sorting unsortable geo_point and cartesian_point (#106351) 2024-03-14 23:16:53 +01:00
esql-process-data-with-dissect-grok.asciidoc [DOCS] Empty keys for ES|QL DISSECT (#102632) 2023-12-11 11:23:27 +01:00
esql-query-api.asciidoc [DOCS][ESQL] Document locale rest parameter (#104985) 2024-02-06 10:36:51 +01:00
esql-rest.asciidoc Mute ESQL async docs tests (#106294) 2024-03-13 11:08:12 -04:00
esql-security-solution.asciidoc Update esql-security-solution.asciidoc (#104531) 2024-01-18 15:48:43 +01:00
esql-syntax.asciidoc [DOCS] ES|QL backtick changes in 8.13 (#103958) 2024-01-08 12:13:16 +01:00
esql-using.asciidoc Add docs for cross cluster search in ES|QL(#105934) 2024-03-07 13:15:01 -08:00
index.asciidoc Add docs for cross cluster search in ES|QL(#105934) 2024-03-07 13:15:01 -08:00
metadata-fields.asciidoc ESQL: Grammar - FROM METADATA no longer require [] (#105221) 2024-02-08 07:03:19 -08:00
multivalued-fields.asciidoc ESQL: Nested expressions inside stats command (#104387) 2024-01-17 15:49:20 -08:00
task-management.asciidoc [DOCS] One more round of restructuring the ES|QL documentation (#101340) 2023-10-26 10:57:05 +02:00