Skip to content

Commit 437ad06

Browse files
fbaligandjimczi
authored andcommitted
fix query string example for boolean query (#28881)
1 parent bcc9cbf commit 437ad06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/query-dsl/query-string-query.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ GET /_search
312312

313313
The example above creates a boolean query:
314314

315-
`(ny OR (new AND york)) city)`
315+
`(ny OR (new AND york)) city`
316316

317317
that matches documents with the term `ny` or the conjunction `new AND york`.
318318
By default the parameter `auto_generate_synonyms_phrase_query` is set to `true`.

0 commit comments

Comments
 (0)