Browse Source

fix query string example for boolean query (#28881)

Fabien Baligand 7 years ago
parent
commit
437ad06e40
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/reference/query-dsl/query-string-query.asciidoc

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

@@ -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`.