Commit graph

6 commits

Author SHA1 Message Date
Matt Bargar af2da97974
Makes KQL the default query language for new searches (#27092)
Changes the default query language to KQL in all apps that respect the `search:queryLanguage` advanced setting.
2019-02-06 17:18:25 -05:00
Matt Bargar fceddf8610
Mention license change for autocomplete 2018-09-25 12:45:22 -04:00
Matt Bargar aeaf57dd97
Add query enhancements opt-in switch to query bar (#17232)
Makes our language updates more visible to users and removes mentions of Kuery as a separate language. Users still get the old lucene experience by default, but have the option to opt-in to "experimental query features" directly in the query bar. Goal is to get more feedback by making these new features more prominent and less of a jump from lucene.
2018-03-22 15:47:52 -04:00
Lukas Olson e9ff31f185 Update Kuery Syntax (#15857)
This PR evolves Kuery into a simplified, more lucene-like language. In a follow up PR we plan on getting rid of the language switcher dropdown and instead add a checkbox that will allow users to opt-in to this syntax, which will feel less like a separate language and more like a set of enhancements to the existing lucene query syntax.

This PR also updates the simple grammar to solve the following:

* Wildcards in field names
* "is one of" shorthand (e.g. foo:(bar OR baz OR qux))
* Don't split on whitespace (require explicit AND/ORs, case insensitive)
* "exists" query (e.g. foo:*)
* Improved range query shorthands (e.g. foo <= 1)
* Wildcard queries

Since this new syntax is simpler and does not support every filter type like old Kuery did, this PR also brings back the filter bar when kuery is selected in the language picker.

See the documentation updates in this PR if you need an overview of the new syntax (and let us know if the documentation is lacking).
2018-03-07 08:29:34 -08:00
Matt Bargar 9e48298844 Emphasize important difference between Kuery and Lucene query syntax (#13592)
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.
2017-08-18 16:45:28 -04:00
Matt Bargar f78bb5dc11 Add Kuery docs and break search page into subsections (#13074)
* Add Kuery docs and break search page into subsections
2017-08-02 15:16:00 -04:00