OpenSearch/docs
Igor Motov 2fe4da80ad SQL: add filter support in REST action (elastic/x-pack-elasticsearch#3045)
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
2017-11-21 11:40:38 -05:00
..
en SQL: add filter support in REST action (elastic/x-pack-elasticsearch#3045) 2017-11-21 11:40:38 -05:00
src/test/java/org/elasticsearch/smoketest [DOCS][TESTS] Don’t randomise content type for docs tests. (elastic/x-pack-elasticsearch#3058) 2017-11-20 13:32:14 +00:00
build.gradle SQL: add filter support in REST action (elastic/x-pack-elasticsearch#3045) 2017-11-21 11:40:38 -05:00