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

[7.x] Add nested field support to KQL (#47070) #49762

Merged
merged 1 commit into from
Oct 30, 2019

Conversation

Bargs
Copy link
Contributor

@Bargs Bargs commented Oct 30, 2019

backport

This PR adds a new syntax to KQL for querying nested fields.

Nested fields can be queried in two different ways:

Parts of the query may only match a single nested doc (bool inside nested). This is what most people want when querying on a nested field.
Parts of the query may match different nested docs (nested inside bool). This is how a regular object field works but nested fields can be queried in the same way. Although generally less useful, there are occasions where one might want to query a nested field in this way.
The new KQL syntax supports both.
@Bargs Bargs added the backport label Oct 30, 2019
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@Bargs Bargs merged commit 7a1f9fb into elastic:7.x Oct 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants