-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make it easier to discover Lucene Query and Query DSL Syntax Help #4250
Comments
very useful indeed. |
+1 for autocompletion. Would be a great feature to make the full Lucene syntax more discoverable |
+1 for auto-completion. |
Just some thoughts:
|
+1 |
franky also a simple opening panel with example like https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html#query-string-syntax would be a great improvement |
+1 for issue |
+1 |
how about autosearching for field values e.g. category:ga[mes is suggested?] |
Search bar auto-completion would be a great addition to Kibana. |
+1 |
@tbragin regardless of future plans, I feel like we should at least provide a link to the query string query documentation, what do you think? At the moment it's not at all obvious where to find the documentation. |
@Bargs couldn't agree more. |
@cjcenizal what do you think of Tanya's proposal above? I quite like it, but I dunno if you've established other conventions for in page documentation yet. At the moment I would implement this as a very simple panel with the existing hints you see when there are 0 results and a link to the query string query documentation. |
@Bargs I think this is a great idea! I put together this very simple wireframe as a guide. Does this look like what you had in mind? I think it can be accomplished with the |
@cjcenizal I love it, I'll take a swing at it and show you when I've got something. Thanks! |
+1. What @sts proposed looks very useful! |
Apart from lucene syntaxs, suggestions for fields are much needed. |
@rahulghanate we're actively working on this for our new query language #12315 |
Currently, it is hard for a user to discover that the search bar supports Lucene Query and Elasticsearch Query DSL syntax. When there are no documents found, we do display some Lucene query search assistance in the main frame itself. However, if there are any documents found in Discover, or if you are in Visualize or Dashboard, there is no way to discover this support other than looking at the docs.
One possibility is to enhance the typeahead assistant in the search bar to provide these links.

Currently, it offers access to search history, which is useful, but how about adding more help at the bottom? Some ideas:
The text was updated successfully, but these errors were encountered: