elasticsearch/docs/reference/esql/functions/signature
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
..
abs.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
acos.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
add.svg ESQL: Generate railroad diagrams for operators (#103143) 2023-12-08 09:24:34 -05:00
asin.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
atan.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
atan2.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
auto_bucket.svg ESQL: annotate trigonometric functions and auto_bucket() (SHOW FUNCTIONS) (#101460) 2023-10-27 16:35:44 +02:00
ceil.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
coalesce.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
concat.svg [ES|QL] Remove variadic functions' optional args from the output of show functions (#106454) 2024-03-20 10:15:49 -04:00
cos.svg ESQL: Generate docs for the trig functions (#106891) 2024-03-29 12:24:31 -04:00
cosh.svg ESQL: Generate docs for the trig functions (#106891) 2024-03-29 12:24:31 -04:00
date_diff.svg ESQL: add date_diff function (#104118) 2024-01-09 07:03:58 -05:00
date_extract.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
date_format.svg ES|QL: Improve support for TEXT fields in functions (#106810) 2024-03-27 08:47:09 -04:00
date_parse.svg ESQL: Tests for large concat and many evals (#100159) 2023-10-03 14:41:40 -04:00
div.svg ESQL: Generate railroad diagrams for operators (#103143) 2023-12-08 09:24:34 -05:00
e.svg ESQL: Standardize font used in railroad diagrams (#98897) 2023-08-26 14:19:47 -04:00
ends_with.svg [ES|QL] Annotate all ESQL functions (for SHOW FUNCTIONS) (#103686) 2024-01-11 10:15:30 +01:00
equals.svg ESQL: Generate railroad diagrams for operators (#103143) 2023-12-08 09:24:34 -05:00
floor.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
greater_than.svg ESQL: Generate railroad diagrams for operators (#103143) 2023-12-08 09:24:34 -05:00
greater_than_or_equal.svg ESQL: Add type tables for operators to docs (#103206) 2023-12-11 10:51:38 -05:00
greatest.svg ESQL: Tests for large concat and many evals (#100159) 2023-10-03 14:41:40 -04:00
least.svg ESQL: Tests for large concat and many evals (#100159) 2023-10-03 14:41:40 -04:00
left.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
length.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
less_than.svg ESQL: Generate railroad diagrams for operators (#103143) 2023-12-08 09:24:34 -05:00
less_than_or_equal.svg ESQL: Add type tables for operators to docs (#103206) 2023-12-11 10:51:38 -05:00
locate.svg Add ES|QL Locate function (#106899) 2024-04-05 15:29:54 +02:00
log.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
log10.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
ltrim.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
mod.svg ESQL: Generate railroad diagrams for operators (#103143) 2023-12-08 09:24:34 -05:00
mul.svg ESQL: Generate railroad diagrams for operators (#103143) 2023-12-08 09:24:34 -05:00
mv_avg.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
mv_concat.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
mv_count.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
mv_dedupe.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
mv_first.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
mv_last.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
mv_max.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
mv_median.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
mv_min.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
mv_slice.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
mv_sort.svg [ES|QL] Add mv_sort (#106095) 2024-03-13 12:04:12 -04:00
mv_sum.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
mv_zip.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
neg.svg ESQL: Generate railroad diagrams for operators (#103143) 2023-12-08 09:24:34 -05:00
not_equals.svg ESQL: Generate railroad diagrams for operators (#103143) 2023-12-08 09:24:34 -05:00
pi.svg ESQL: Standardize font used in railroad diagrams (#98897) 2023-08-26 14:19:47 -04:00
pow.svg ESQL: Standardize font used in railroad diagrams (#98897) 2023-08-26 14:19:47 -04:00
replace.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
right.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
round.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
rtrim.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
signum.svg Add ES|QL signum function (#106866) 2024-04-04 09:48:35 +02:00
sin.svg ESQL: Generate docs for the trig functions (#106891) 2024-03-29 12:24:31 -04:00
sinh.svg ESQL: Generate docs for the trig functions (#106891) 2024-03-29 12:24:31 -04:00
split.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
sqrt.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
st_contains.svg ESQL: Support ST_CONTAINS and ST_WITHIN (#106503) 2024-04-02 10:31:00 +02:00
st_disjoint.svg ESQL: Support ST_DISJOINT (#107007) 2024-04-08 12:26:26 +02:00
st_intersects.svg Support ST_INTERSECTS between two geometry columns (#104907) 2024-03-19 17:58:37 +01:00
st_within.svg ESQL: Support ST_CONTAINS and ST_WITHIN (#106503) 2024-04-02 10:31:00 +02:00
st_x.svg Add two new OGC functions ST_X and ST_Y (#105768) 2024-03-06 11:19:54 +01:00
st_y.svg Add two new OGC functions ST_X and ST_Y (#105768) 2024-03-06 11:19:54 +01:00
starts_with.svg [ES|QL] Annotate all ESQL functions (for SHOW FUNCTIONS) (#103686) 2024-01-11 10:15:30 +01:00
sub.svg ESQL: Generate railroad diagrams for operators (#103143) 2023-12-08 09:24:34 -05:00
substring.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
tan.svg ESQL: Generate docs for the trig functions (#106891) 2024-03-29 12:24:31 -04:00
tanh.svg ESQL: Generate docs for the trig functions (#106891) 2024-03-29 12:24:31 -04:00
tau.svg ESQL: Standardize font used in railroad diagrams (#98897) 2023-08-26 14:19:47 -04:00
to_boolean.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
to_cartesianpoint.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
to_cartesianshape.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
to_datetime.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
to_degrees.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
to_double.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
to_geopoint.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
to_geoshape.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
to_integer.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
to_ip.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
to_long.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
to_lower.svg ESQL: Add TO_UPPER and TO_LOWER functions (#104309) 2024-01-15 11:58:57 +01:00
to_radians.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
to_string.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
to_unsigned_long.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
to_upper.svg ESQL: Add TO_UPPER and TO_LOWER functions (#104309) 2024-01-15 11:58:57 +01:00
to_version.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00
trim.svg ESQL: Use generated docs for abs and acos (#106510) 2024-03-20 16:32:12 -04:00