Skip to content

Commit

Permalink
fix query string example for boolean query (#28881)
Browse files Browse the repository at this point in the history
  • Loading branch information
fbaligand authored and jimczi committed Mar 30, 2018
1 parent bcc9cbf commit 437ad06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/query-dsl/query-string-query.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ GET /_search

The example above creates a boolean query:

`(ny OR (new AND york)) city)`
`(ny OR (new AND york)) city`

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

0 comments on commit 437ad06

Please sign in to comment.