elastic / elasticsearch

Free and Open Source, Distributed, RESTful Search Engine
https://www.elastic.co/products/elasticsearch
Other
69.92k stars 24.73k forks source link

Lucene pushdown on ST_DISTANCE only supported if function is at top level #110349

Closed craigtaverner closed 3 months ago

craigtaverner commented 3 months ago

We've supported lucene pushdown for ST_DISTANCE in three PRs:

However, as noted in the comments on https://github.com/elastic/elasticsearch/pull/110253, these do not support all boolean combinations of predicates. In particular they do not support OR or NOT. We need to enhance the logic to consider these cases as well.

elasticsearchmachine commented 3 months ago

Pinging @elastic/es-analytical-engine (Team:Analytics)