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
The parent filter of the nested aggregator isn't resolved correctly all the time #9335
The parent filter of the nested aggregator isn't resolved correctly all the time #9335
Conversation
nested
aggregator's parent filter is n't resolved properly i...
Can you elaborate a bit why it does not work correctly today? |
When aggregations aren't created before collection started (so not the top Moving the resolving of the On 20 January 2015 at 00:22, Adrien Grand notifications@github.com wrote:
Met vriendelijke groet, Martijn van Groningen |
LGTM |
I see @martijnvg , thanks for the explanation. I think we should make the framework more resilient to this kind of corner cases in the long term, but +1 to your fix as this would be quite a hard task. |
…y in the case the nested agg gets created on the fly for buckets that are constructed during query execution. The fix is the move the parent filter resolving from the nextReader(...) method to the collect(...) method, because only then any parent nested filter's parent filter is then properly instantiated. Closes elastic#9280 Closes elastic#9335
00bdced
to
061337f
Compare
…y in the case the nested agg gets created on the fly for buckets that are constructed during query execution. The fix is the move the parent filter resolving from the nextReader(...) method to the collect(...) method, because only then any parent nested filter's parent filter is then properly instantiated. Closes elastic#9280 Closes elastic#9335
…y in the case the nested agg gets created on the fly for buckets that are constructed during query execution. The fix is the move the parent filter resolving from the nextReader(...) method to the collect(...) method, because only then any parent nested filter's parent filter is then properly instantiated. Closes #9280 Closes #9335
…y in the case the nested agg gets created on the fly for buckets that are constructed during query execution. The fix is the move the parent filter resolving from the nextReader(...) method to the collect(...) method, because only then any parent nested filter's parent filter is then properly instantiated. Closes #9280 Closes #9335
…y in the case the nested agg gets created on the fly for buckets that are constructed during query execution. The fix is the move the parent filter resolving from the nextReader(...) method to the collect(...) method, because only then any parent nested filter's parent filter is then properly instantiated. Closes elastic#9280 Closes elastic#9335
…y in the case the nested agg gets created on the fly for buckets that are constructed during query execution. The fix is the move the parent filter resolving from the nextReader(...) method to the collect(...) method, because only then any parent nested filter's parent filter is then properly instantiated. Closes elastic#9280 Closes elastic#9335
The
nested
aggregator's parent filter isn't resolved properly in the case the nested agg gets created on the fly for buckets that are constructed during query execution.The fix is the move the parent filter resolving from the nextReader(...) method to the collect(...) method, because only then any parent nested filter's parent filter is then properly instantiated.
Closes #9280