-
Notifications
You must be signed in to change notification settings - Fork 2.3k
[Bug-fix] Fix redundant loading of global ordinals #18059
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
Conversation
Signed-off-by: Sandesh Kumar <[email protected]>
❌ Gradle check result for 7e7ce79: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #18059 +/- ##
============================================
+ Coverage 72.47% 72.49% +0.01%
- Complexity 67034 67101 +67
============================================
Files 5478 5473 -5
Lines 310132 310067 -65
Branches 45087 45053 -34
============================================
- Hits 224775 224769 -6
+ Misses 66960 66934 -26
+ Partials 18397 18364 -33 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
...ava/org/opensearch/search/aggregations/bucket/terms/GlobalOrdinalsStringTermsAggregator.java
Show resolved
Hide resolved
...ava/org/opensearch/search/aggregations/bucket/terms/GlobalOrdinalsStringTermsAggregator.java
Show resolved
Hide resolved
Signed-off-by: Sandesh Kumar <[email protected]> (cherry picked from commit 1d998f1) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
(cherry picked from commit 1d998f1) Signed-off-by: Sandesh Kumar <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…pensearch-project#18112) (cherry picked from commit 1d998f1) Signed-off-by: Sandesh Kumar <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Signed-off-by: Prudhvi Godithi <[email protected]>
Description
Loading global ordinals is expensive. So loading up global ordinals only when absolutely required and ensuring that the search request does not loads up global ordinals multiple times.
Related Issues
Resolves #17979
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.