Skip to content
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

Support KQL with Query String Queries #56391

Closed
ljak opened this issue May 7, 2020 · 4 comments
Closed

Support KQL with Query String Queries #56391

ljak opened this issue May 7, 2020 · 4 comments
Labels
>enhancement :Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team

Comments

@ljak
Copy link

ljak commented May 7, 2020

Query String Query make it really easy to write queries, without the DSL. It seems really close to the Lucene Query Syntax.

On the side, Kibana started, from the Lucene Query Syntax, its own query syntax called Kibana Query Language (KQL) : https://www.elastic.co/guide/en/kibana/current/kuery-query.html . Very similar to the Lucene Query Syntay, they recently added support for Nested Fields : https://www.elastic.co/guide/en/kibana/current/kuery-query.html#kuery-query-nested-field and elastic/kibana#47070

My request : could it be possible to have an ES query type (similar to the Query String query - maybe improves that one) to parse the KQL ? That new query string type will support natively nested fields ! Thanks.

@ljak ljak added >enhancement needs:triage Requires assignment of a team area label labels May 7, 2020
@Tim-Brooks Tim-Brooks added the :Search/Search Search-related issues that do not fall into other categories label May 7, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search (:Search/Search)

@elasticmachine elasticmachine added the Team:Search Meta label for search team label May 7, 2020
@Tim-Brooks Tim-Brooks removed the needs:triage Requires assignment of a team area label label May 7, 2020
@Truth1984
Copy link

Truth1984 commented Feb 7, 2021

+1

Currently using elasticsearch npm package, and it only supports Query String Queries as far as I know

@qpointsystems
Copy link

+1 This is exactly what I'm looking for also. I've even attempted to get kbn-es-query out of @elastic/kibana so I could use it as is to 'parse' my query which works peachy in Discover.

Nesting source is magical for the data I'm working with. It'd be equally magical if I had an obvious way (like Discover does) to work with a search like this: branchOrganizers.leafOrganizers.fieldList:{ CWPersonName.familyName: Erdman }

@javanna
Copy link
Member

javanna commented Oct 13, 2022

Closing as duplicate of #16551.

@javanna javanna closed this as completed Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement :Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team
Projects
None yet
Development

No branches or pull requests

6 participants