Skip to content

Commit 78a87eb

Browse files
authored
FIx match_phrase docs for zero_terms_query
1 parent 00c3146 commit 78a87eb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/reference/query-languages/query-dsl/query-dsl-match-query-phrase.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ GET /_search
3535
`zero_terms_query`
3636
: (Optional, string) Indicates whether no documents are returned if the `analyzer` removes all tokens, such as when using a `stop` filter. Valid values are:
3737

38-
`none` (Default)
39-
: No documents are returned if the `analyzer` removes all tokens.
38+
- `none` (Default)
39+
: No documents are returned if the `analyzer` removes all tokens.
4040

41-
`all`
42-
: Returns all documents, similar to a [`match_all`](/reference/query-languages/query-dsl/query-dsl-match-all-query.md) query.
41+
- `all`
42+
: Returns all documents, similar to a [`match_all`](/reference/query-languages/query-dsl/query-dsl-match-all-query.md) query.
4343

4444

4545
A phrase query matches terms up to a configurable `slop` (which defaults to 0) in any order. Transposed terms have a slop of 2.

0 commit comments

Comments
 (0)