OpenSearch/docs/reference/query-dsl
Adrien Grand 864ed04059 Lessen leniency of the query dsl. #18276
This change does the following:
 - Queries that are currently unsupported such as prefix queries on numeric
   fields or term queries on geo fields now throw an error rather than returning
   a query that does not match anything.
 - Fuzzy queries on numeric, date and ip fields are now unsupported: they used
   to create range queries, we now expect users to use range queries directly.
   Fuzzy, regexp and prefix queries are now only supported on text/keyword
   fields (including `_all`).
 - The `_uid` and `_id` fields do not support prefix or range queries anymore as
   it would prevent us to store them more efficiently in the future, eg. by
   using a binary encoding.

Note that it is still possible to ignore these errors by using the `lenient`
option of the `match` or `query_string` queries.
2016-05-16 17:37:00 +02:00
..
bool-query.asciidoc Renamed all AUTOSENSE snippets to CONSOLE (#18210) 2016-05-09 15:42:23 +02:00
boosting-query.asciidoc Docs: Reorganised the Query DSL docs into families and explaing query vs filter context 2015-06-04 01:59:37 +02:00
common-terms-query.asciidoc Polish doc 2015-11-28 18:25:42 +01:00
compound-queries.asciidoc Fixed broken xrefs to query-dsl-not-query, which has been removed. 2015-10-20 13:01:37 -07:00
constant-score-query.asciidoc Docs: Reorganised the Query DSL docs into families and explaing query vs filter context 2015-06-04 01:59:37 +02:00
dis-max-query.asciidoc Docs: Reorganised the Query DSL docs into families and explaing query vs filter context 2015-06-04 01:59:37 +02:00
exists-query.asciidoc Document 5.0 mapping changes. 2016-03-22 16:22:58 +01:00
full-text-queries.asciidoc Update full-text-queries.asciidoc 2016-05-10 12:18:21 +02:00
function-score-query.asciidoc Renamed all AUTOSENSE snippets to CONSOLE (#18210) 2016-05-09 15:42:23 +02:00
fuzzy-query.asciidoc Lessen leniency of the query dsl. #18276 2016-05-16 17:37:00 +02:00
geo-bounding-box-query.asciidoc Add deprecation warnings for ignore_malformed to reference docs 2016-05-04 12:04:28 +02:00
geo-distance-query.asciidoc Add deprecation warnings for ignore_malformed to reference docs 2016-05-04 12:04:28 +02:00
geo-distance-range-query.asciidoc Adds ignore_unmapped option to geo queries 2016-04-14 15:29:07 +01:00
geo-polygon-query.asciidoc Add deprecation warnings for ignore_malformed to reference docs 2016-05-04 12:04:28 +02:00
geo-queries.asciidoc Fix typos in docs. 2016-02-09 02:07:32 -08:00
geo-shape-query.asciidoc Adds ignore_unmapped option to geo queries 2016-04-14 15:29:07 +01:00
geohash-cell-query.asciidoc Adds ignore_unmapped option to geo queries 2016-04-14 15:29:07 +01:00
has-child-query.asciidoc Adds ignore_unmapped option to nested and P/C queries 2016-04-14 10:34:30 +01:00
has-parent-query.asciidoc Update has-parent-query.asciidoc (#17841) 2016-04-19 11:56:05 +02:00
ids-query.asciidoc Docs: Reorganised the Query DSL docs into families and explaing query vs filter context 2015-06-04 01:59:37 +02:00
indices-query.asciidoc [DOCS] remove tip on indices query elements order 2015-10-28 10:50:28 +01:00
joining-queries.asciidoc Cleanup ParentFieldMapper: 2016-01-20 16:56:22 +01:00
match-all-query.asciidoc Docs: Add query to Query DSL documentation 2015-11-18 14:39:28 +01:00
match-phrase-prefix-query.asciidoc Added cautionary note to match_phrase_prefix explaining its shortcomings 2016-04-22 12:45:12 +02:00
match-phrase-query.asciidoc [DOCS] update match query documentation 2016-04-06 15:44:22 +01:00
match-query.asciidoc Documented fuzzy_transpositions in match query 2016-05-14 11:20:04 +02:00
minimum-should-match.asciidoc Query DSL: Remove filter parsers. 2015-05-07 20:14:34 +02:00
mlt-query.asciidoc Switch to using ParseField to parse query names 2016-04-05 15:38:53 +02:00
multi-match-query.asciidoc Don't allow `fuzziness` for `multi_match` types cross_fields, phrase and phrase_prefix 2016-05-13 17:32:14 +02:00
multi-term-rewrite.asciidoc Expose Lucene's new TopTermsBlendedFreqScoringRewrite. 2015-07-08 16:01:47 +02:00
nested-query.asciidoc Adds ignore_unmapped option to nested and P/C queries 2016-04-14 10:34:30 +01:00
parent-id-query.asciidoc Adds ignore_unmapped option to nested and P/C queries 2016-04-14 10:34:30 +01:00
percolate-query.asciidoc percolator: renamed `percolator` query to `percolate` query 2016-04-20 15:23:54 +02:00
prefix-query.asciidoc Docs: Reorganised the Query DSL docs into families and explaing query vs filter context 2015-06-04 01:59:37 +02:00
query-string-query.asciidoc Docs: Update Joda URLs in documentation. 2015-06-26 10:23:02 +02:00
query-string-syntax.asciidoc Merge pull request #13894 from dmland/patch-1 2015-11-18 15:50:30 +01:00
query_filter_context.asciidoc Docs: Use "js" instead of "json" and "sh" instead of "shell" for source highlighting 2015-07-14 18:14:09 +02:00
range-query.asciidoc Duplicated colon was removed (#17988) 2016-04-26 20:31:00 +02:00
regexp-query.asciidoc Docs: Reorganised the Query DSL docs into families and explaing query vs filter context 2015-06-04 01:59:37 +02:00
regexp-syntax.asciidoc Corrected regexp syntax docs for COMPLEMENT 2016-03-14 10:46:31 +01:00
script-query.asciidoc Docs: Remove docs for the `filtered`, `and`, `or` and `(f)query` queries. 2015-09-11 11:00:54 +02:00
simple-query-string-query.asciidoc Docs: add description of the analyze_wildcard parameter to the simple query string query docs 2015-06-22 18:26:31 -04:00
span-containing-query.asciidoc Docs: Reorganised the Query DSL docs into families and explaing query vs filter context 2015-06-04 01:59:37 +02:00
span-first-query.asciidoc Docs: Reorganised the Query DSL docs into families and explaing query vs filter context 2015-06-04 01:59:37 +02:00
span-multi-term-query.asciidoc Docs: Reorganised the Query DSL docs into families and explaing query vs filter context 2015-06-04 01:59:37 +02:00
span-near-query.asciidoc Deprecate span_near's collect_payloads 2016-01-11 22:11:38 -05:00
span-not-query.asciidoc Docs: Reorganised the Query DSL docs into families and explaing query vs filter context 2015-06-04 01:59:37 +02:00
span-or-query.asciidoc Docs: Reorganised the Query DSL docs into families and explaing query vs filter context 2015-06-04 01:59:37 +02:00
span-queries.asciidoc Docs: Reorganised the Query DSL docs into families and explaing query vs filter context 2015-06-04 01:59:37 +02:00
span-term-query.asciidoc Docs: Reorganised the Query DSL docs into families and explaing query vs filter context 2015-06-04 01:59:37 +02:00
span-within-query.asciidoc Docs: Reorganised the Query DSL docs into families and explaing query vs filter context 2015-06-04 01:59:37 +02:00
special-queries.asciidoc percolator: renamed `percolator` query to `percolate` query 2016-04-20 15:23:54 +02:00
template-query.asciidoc Changed indexed scripts to be stored in the cluster state instead of the `.scripts` index. 2016-04-22 13:42:55 +02:00
term-level-queries.asciidoc Removes all the reference of the query in the docs 2015-12-11 20:07:57 +01:00
term-query.asciidoc Renamed all AUTOSENSE snippets to CONSOLE (#18210) 2016-05-09 15:42:23 +02:00
terms-query.asciidoc Update terms-query.asciidoc 2016-04-22 10:56:13 -06:00
type-query.asciidoc Docs: Reorganised the Query DSL docs into families and explaing query vs filter context 2015-06-04 01:59:37 +02:00
wildcard-query.asciidoc Docs: Reorganised the Query DSL docs into families and explaing query vs filter context 2015-06-04 01:59:37 +02:00