-
Notifications
You must be signed in to change notification settings - Fork 25.1k
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
Allow composite to be a sub-aggregation of filter #71639
Allow composite to be a sub-aggregation of filter #71639
Conversation
Pinging @elastic/es-analytics-geo (Team:Analytics) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add something to CompositeAggregatorTests
? Its nice to have this there too so its easier to use a debugger and stuff.
...-api-spec/src/yamlRestTest/resources/rest-api-spec/test/search.aggregation/230_composite.yml
Show resolved
Hide resolved
The rest compat failure just need master merged in. I did talk to @not-napoleon about adding a test for when the parent is just a |
yeah, good call on testing that. I'm working on a fix for it now. |
Having the nested field forced the execution path onto the "slow" path, even for non-nested tests. This hurt our coverage. Now we have an explicitly nested index for testing nested stuff, and a non-nested index for testing everything else.
@elasticmachine update branch |
…lasticsearch into composite-nested-filter-2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense to me.
@elasticmachine update branch |
@not-napoleon I don't see this one in the 7.13.0 release notes. Did it make it? |
It should be there. I see it in the git log for 7.13, and we would have updated the tags on this issue if we'd bumped it forward. Not sure why it didn't make the release notes though. |
This PR is intended to replace #38863. After this change, composite can be an arbitrarily deep child aggregation of any combination of nested and filter aggregations.
Relates to #37178