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 19ae454 commit 8142ac4
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 @@ -30,6 +30,11 @@ You can specify fields to search 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 8142ac4

Please sign in to comment.