Explorar o código

fix query string example for boolean query (#28881)

Fabien Baligand %!s(int64=7) %!d(string=hai) anos
pai
achega
437ad06e40
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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`.