mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-22 21:05:23 +00:00
Adds the option to specify an elasticsearch filter in addition to the SQL query by introducing a filter parameter in the REST query which would create a boolean filter if the SQL query generates an elasticsearch query or a constant score query if SQL if the SQL query doesn't generates an elasticsearch query. Usage: { "query": "SELECT * FROM index", "filter" : { "term" : { "tag" : "tech" } } } relates elastic/x-pack-elasticsearch#2895 Original commit: elastic/x-pack-elasticsearch@9a73813c7f