Skip to content

Commit 8139217

Browse files
authored
Docs: Fix match_phrase docs for zero_terms_query (#128387) (#128402)
1 parent fd89678 commit 8139217

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

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

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,10 @@ GET /_search
3434

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:
37-
38-
`none` (Default)
39-
: No documents are returned if the `analyzer` removes all tokens.
40-
41-
`all`
42-
: Returns all documents, similar to a [`match_all`](/reference/query-languages/query-dsl/query-dsl-match-all-query.md) query.
43-
37+
- `none` (Default)
38+
No documents are returned if the `analyzer` removes all tokens.
39+
- `all`
40+
Returns all documents, similar to a [`match_all`](/reference/query-languages/query-dsl/query-dsl-match-all-query.md) query.
4441

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

0 commit comments

Comments
 (0)