mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-29 09:54:06 -04:00
* WIP Started adding ST_CONTAINS * Add generated evaluators * Reduced warnings and use correct evaluators * Refactored tests to remove duplicate code, and fixed Contains/multi-components * Gradle build disallows using getDeclaredField * Fixed cases where rectangles cross the dateline * Fixed meta function tests * Added ST_WITHIN to support inverting ST_CONTAINS If the ST_CONTAINS is called with the constant on the left, we either have to create a lot more Evaluators to cover that case, or we have to invert it to ST_WITHIN. This inversion was a much easier option. * Simplify inversion logic * Add comment on choice of surrogate approach * Add unit tests and missing fold() function * Simple code cleanup * Add integration tests for literals * Add more integration tests based on actual data * Generated documentation files * Add documentation * Fixed failing function count test * Add tests that push-to-source works for ST_CONTAINS and ST_WITHIN * Test more combinations of WITH/CONTAINS and literal on right and left This also verifies that the re-writing of CONTAINS to WITHIN or vice versa occurs when the literal is on the left. * test that physical planning also handles doc-values from STATS * Added more tests for WITHIN/CONTAINS together with CENTROID This should test the doc-values for points. * Add cartesian_point tests * Add cartesian_shape tests * Disable Lucene-push-down for CARTESIAN data This is a limitation in Lucene, which we could address as a performance optimization in a future PR, but since it probably requires Lucene changes, it cannot be done in this work. * Fix doc links * Added test data and tests for cartesian multi-polygons Testing INTERSECTS, CONTAINS and WITHIN with multi-polydon fields * Use required features for spatial points, shapes and centroid * 8.13.0 is not yet historical version This needs to be reverted as soon as 8.13.0 is released * Added st_intersects and st_contains_within 'features' * Code review updates * Re-enable lucene push-down * Added more required_features * Fix point contains non-point * Fix point contains point * Re-enable lucene push-down in tests too Forgot to change the physical planner unit tests after re-enabling lucene push-down * Generate automatic docs * Use generated examples docs * Generated examples use '-result' prefix (singular) * Mark spatial functions as preview/experimental |
||
---|---|---|
.. | ||
abs.asciidoc | ||
acos.asciidoc | ||
asin.asciidoc | ||
atan.asciidoc | ||
atan2.asciidoc | ||
auto_bucket.asciidoc | ||
case.asciidoc | ||
ceil.asciidoc | ||
coalesce.asciidoc | ||
concat.asciidoc | ||
cos.asciidoc | ||
cosh.asciidoc | ||
date_diff.asciidoc | ||
date_extract.asciidoc | ||
date_format.asciidoc | ||
date_parse.asciidoc | ||
e.asciidoc | ||
ends_with.asciidoc | ||
floor.asciidoc | ||
greatest.asciidoc | ||
least.asciidoc | ||
left.asciidoc | ||
length.asciidoc | ||
log.asciidoc | ||
log10.asciidoc | ||
ltrim.asciidoc | ||
mv_avg.asciidoc | ||
mv_concat.asciidoc | ||
mv_count.asciidoc | ||
mv_dedupe.asciidoc | ||
mv_first.asciidoc | ||
mv_last.asciidoc | ||
mv_max.asciidoc | ||
mv_median.asciidoc | ||
mv_min.asciidoc | ||
mv_slice.asciidoc | ||
mv_sort.asciidoc | ||
mv_sum.asciidoc | ||
mv_zip.asciidoc | ||
pi.asciidoc | ||
pow.asciidoc | ||
replace.asciidoc | ||
right.asciidoc | ||
round.asciidoc | ||
rtrim.asciidoc | ||
sin.asciidoc | ||
sinh.asciidoc | ||
split.asciidoc | ||
sqrt.asciidoc | ||
st_contains.asciidoc | ||
st_intersects.asciidoc | ||
st_within.asciidoc | ||
st_x.asciidoc | ||
st_y.asciidoc | ||
starts_with.asciidoc | ||
substring.asciidoc | ||
tan.asciidoc | ||
tanh.asciidoc | ||
tau.asciidoc | ||
to_boolean.asciidoc | ||
to_cartesianpoint.asciidoc | ||
to_cartesianshape.asciidoc | ||
to_datetime.asciidoc | ||
to_degrees.asciidoc | ||
to_double.asciidoc | ||
to_geopoint.asciidoc | ||
to_geoshape.asciidoc | ||
to_integer.asciidoc | ||
to_ip.asciidoc | ||
to_long.asciidoc | ||
to_lower.asciidoc | ||
to_radians.asciidoc | ||
to_string.asciidoc | ||
to_unsigned_long.asciidoc | ||
to_upper.asciidoc | ||
to_version.asciidoc | ||
trim.asciidoc |