-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Improve reduction of terms aggregations #61779
Merged
Merged
Commits on Sep 1, 2020
-
Improve reduction of terms aggregations
Today, the terms aggregation reduces multiple aggregations at once using a map to group same buckets together. This operation can be costly since it requires to lookup every bucket in a global map with no particular order. This commit changes how term buckets are sorted by shards and partial reduces in order to be able to reduce results using a merge-sort strategy. For bwc, results are merged with the legacy code if any of the aggregations use a different sort (if it was returned by a node in prior versions). Relates elastic#51857
Configuration menu - View commit details
-
Copy full SHA for c97a1ed - Browse repository at this point
Copy the full SHA c97a1edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 99bc538 - Browse repository at this point
Copy the full SHA 99bc538View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a45a61 - Browse repository at this point
Copy the full SHA 3a45a61View commit details -
Configuration menu - View commit details
-
Copy full SHA for f060ccd - Browse repository at this point
Copy the full SHA f060ccdView commit details -
Configuration menu - View commit details
-
Copy full SHA for b027d81 - Browse repository at this point
Copy the full SHA b027d81View commit details
Commits on Sep 2, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 163ff53 - Browse repository at this point
Copy the full SHA 163ff53View commit details -
Configuration menu - View commit details
-
Copy full SHA for d8f3a5d - Browse repository at this point
Copy the full SHA d8f3a5dView commit details -
we can prune the list on partial reduce if the aggregation is ordered…
… by key and not filtered (minDocCount == 0)
Configuration menu - View commit details
-
Copy full SHA for 646cfb6 - Browse repository at this point
Copy the full SHA 646cfb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7af5dfb - Browse repository at this point
Copy the full SHA 7af5dfbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 038700d - Browse repository at this point
Copy the full SHA 038700dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a195805 - Browse repository at this point
Copy the full SHA a195805View commit details -
Configuration menu - View commit details
-
Copy full SHA for d752ac7 - Browse repository at this point
Copy the full SHA d752ac7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 902d2c9 - Browse repository at this point
Copy the full SHA 902d2c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72d2ded - Browse repository at this point
Copy the full SHA 72d2dedView commit details
Commits on Sep 3, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 237c686 - Browse repository at this point
Copy the full SHA 237c686View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae5d7a8 - Browse repository at this point
Copy the full SHA ae5d7a8View commit details
Commits on Sep 4, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 2d96c64 - Browse repository at this point
Copy the full SHA 2d96c64View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.