You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can see that parentDoc will not be always bigger than childDoc, which means that the function logic processBufferedChildBuckets is wrong, it will aggregate unrelated document.
Describe the bug
the result of NestedAggregator with sub NestedAggregator is not accurately here, the two values of doc_count should be 4.
Related component
Search:Aggregations
To Reproduce
the 4 documents are same, except for the _id:
Expected behavior
The inner_nested.doc_count shouble alse be 4.
If it's a bug, I'm please to fix.
Additional Details
Host/Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: