-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Open
Labels
:Search Relevance/ES|QLSearch functionality in ES|QLSearch functionality in ES|QL:Search Relevance/SearchCatch all for Search RelevanceCatch all for Search Relevance>bugTeam:Search RelevanceMeta label for the Search Relevance team in ElasticsearchMeta label for the Search Relevance team in Elasticsearchpriority:normalA label for assessing bug priority to be used by ES engineersA label for assessing bug priority to be used by ES engineers
Description
Elasticsearch Version
9.3
Installed Plugins
No response
Java Version
bundled
OS Version
all
Problem Description
#138989 adds auto-prefiltering for MATCH queries on semantic_text fields that are using dense vectors.
However, filters that are not translatable to Lucene queries will not be pushed down, and thus will not apply prior to the knn query.
For KNN queries, this is solved by falling back to an EXACT NN. That would be one way to address this for MATCH too.
Steps to Reproduce
Example query:
FROM test_index
| WHERE MAX(some_field, 10) == 10
| WHERE MATCH(dense_semantic_field, "some query")
Logs (if relevant)
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Search Relevance/ES|QLSearch functionality in ES|QLSearch functionality in ES|QL:Search Relevance/SearchCatch all for Search RelevanceCatch all for Search Relevance>bugTeam:Search RelevanceMeta label for the Search Relevance team in ElasticsearchMeta label for the Search Relevance team in Elasticsearchpriority:normalA label for assessing bug priority to be used by ES engineersA label for assessing bug priority to be used by ES engineers