elastic/elasticsearch
GitHub で見るES|QL: Push down mv_contains as a lucene query
Open
#134,529 opened on 2025年9月11日
:Analytics/ES|QL>enhancementTeam:Analyticsgood first issue
説明
In some cases we can push down mv_contains as a lucene query.
We could use for example, the terms_set query.
As an example:
from job-candidates
| WHERE mv_contains(programming_languages, ["java", "jruby"])
can be pushed down as:
{
"query": {
"terms_set": {
"programming_languages": {
"terms": [ "java", "jruby" ],
"minimum_should_match": 2
}
}
}
}