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). |
||
---|---|---|
.. | ||
autorefresh.asciidoc | ||
context.asciidoc | ||
document-data.asciidoc | ||
field-filter.asciidoc | ||
kuery.asciidoc | ||
search.asciidoc | ||
set-time-filter.asciidoc | ||
viewing-field-stats.asciidoc |