forked from elastic/elasticsearch
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Aggregations: The nested aggregator should iterate over the child doc…
… ids in ascending order. The reverse_nested aggregator requires that the emitted doc ids are always in ascending order, which is already enforced on the scorer level, but this also needs to be enforced on the nested aggrgetor level otherwise incorrect counts are a result. Closes elastic#7505 Closes elastic#7514
- Loading branch information
Showing
3 changed files
with
174 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters