Support Lucene push-down for distance filtering with ST_DISTANCE
#109972
Labels
:Analytics/ES|QL
AKA ESQL
:Analytics/Geo
Indexing, search aggregations of geo points and shapes
>enhancement
Team:Analytics
Meta label for analytical engine team (ESQL/Aggs/Geo)
Based on the specification at #108212, we have implemented the
ST_DISTANCE
function in the PR at #108764.However, this does not perform any Lucene pushdown, and so will run slow for larger datasets. One approach to getting lucene pushdown to work is to rewrite the predicate from:
to:
This re-write would NOT occur at the query parsing stage (as implied above), but should be done during Logical Plan optimization. Then the existing lucene pushdown for
ST_INTERSECTS
should work.The text was updated successfully, but these errors were encountered: