Emphasize important difference between Kuery and Lucene query syntax (#13592) (#13594)

Fixes #13563

Brings additional attention to the fact that Kuery uses implicit ANDs whereas Lucene query syntax uses implicit ORs, which could confuse users if they're not aware of the difference.
This commit is contained in:
Matt Bargar 2017-08-18 16:47:28 -04:00 committed by GitHub
parent ea983c3c59
commit 9350243dc0

View file

@ -17,7 +17,8 @@ Multiple search terms are separated by whitespace.
`response:200 extension:php` will match documents where response matches 200 and extension matches php.
All terms must match by default. The language supports boolean logic with and/or operators. The above query is equivalent to `response:200 and extension:php`.
*All terms must match by default*. The language supports boolean logic with and/or operators. The above query is equivalent to `response:200 and extension:php`.
This is a departure from the Lucene query syntax where all terms are optional by default.
We can make terms optional by using `or`.