|
@@ -34,13 +34,10 @@ GET /_search
|
|
|
|
|
|
`zero_terms_query`
|
|
|
: (Optional, string) Indicates whether no documents are returned if the `analyzer` removes all tokens, such as when using a `stop` filter. Valid values are:
|
|
|
-
|
|
|
-`none` (Default)
|
|
|
-: No documents are returned if the `analyzer` removes all tokens.
|
|
|
-
|
|
|
-`all`
|
|
|
-: Returns all documents, similar to a [`match_all`](/reference/query-languages/query-dsl/query-dsl-match-all-query.md) query.
|
|
|
-
|
|
|
+ - `none` (Default)
|
|
|
+ No documents are returned if the `analyzer` removes all tokens.
|
|
|
+ - `all`
|
|
|
+ Returns all documents, similar to a [`match_all`](/reference/query-languages/query-dsl/query-dsl-match-all-query.md) query.
|
|
|
|
|
|
A phrase query matches terms up to a configurable `slop` (which defaults to 0) in any order. Transposed terms have a slop of 2.
|
|
|
|