d7e585ca4f
There currently are small differences between search api and count, exists, validate query, explain api when it comes to reading query_string parameters. `analyze_wildcard`, `lowercase_expanded_terms` and `lenient` are only read by the search api and ignored by all other mentioned apis. Unified code to fix this and make sure it doesn't happen again. Also shared some code when it comes to printing out the query as part of SearchSourceBuilder conversion to ToXContent. Extended REST spec to include all the supported params (some that were already supported weren't listed), and added REST tests (also some basic tests for count and search_exists which weren't tested at all). Closes #11057 |
||
---|---|---|
.. | ||
10_source_filtering.yaml | ||
20_default_values.yaml | ||
30_template_query_execution.yaml | ||
40_search_request_template.yaml | ||
50_search_count.yaml | ||
60_query_string.yaml | ||
issue4895.yaml | ||
issue9606.yaml | ||
test_sig_terms.yaml |