Skip to content

Commit

Permalink
Add a note to query_string docs around spaces in field names. (#47326)
Browse files Browse the repository at this point in the history
  • Loading branch information
birnam authored and jtibshirani committed Oct 16, 2019
1 parent 88eecf8 commit b9cc99d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/reference/query-dsl/query-string-syntax.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ search terms, but it is possible to specify other fields in the query syntax:

author:"John Smith"

* where the `first name` field contains `Alice` (note how we need to escape
the space with a backslash)

first\ name:Alice

* where any of the fields `book.title`, `book.content` or `book.date` contains
`quick` or `brown` (note how we need to escape the `*` with a backslash):

Expand Down

0 comments on commit b9cc99d

Please sign in to comment.