-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Handle deleted documents for filter rewrite subaggregation optimization #19643
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: Ankit Jain <jainankitk@apache.org>
|
❌ Gradle check result for f031019: 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? |
|
{"run-benchmark-test": "id_8"} |
|
The Jenkins job url is https://build.ci.opensearch.org/job/benchmark-pull-request/4731/ . Final results will be published once the job is completed. |
Signed-off-by: Ankit Jain <jainankitk@apache.org>
|
{"run-benchmark-test": "id_8"} |
|
The Jenkins job url is https://build.ci.opensearch.org/job/benchmark-pull-request/4732/ . Final results will be published once the job is completed. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #19643 +/- ##
============================================
+ Coverage 73.09% 73.26% +0.16%
- Complexity 71062 71279 +217
============================================
Files 5754 5766 +12
Lines 325260 325480 +220
Branches 47036 47086 +50
============================================
+ Hits 237736 238447 +711
+ Misses 68383 67868 -515
- Partials 19141 19165 +24 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Benchmark ResultsBenchmark Results for Job: https://build.ci.opensearch.org/job/benchmark-pull-request/4731/
|
Benchmark ResultsBenchmark Results for Job: https://build.ci.opensearch.org/job/benchmark-pull-request/4732/
|
|
{"run-benchmark-test": "id_3"} |
|
The Jenkins job url is https://build.ci.opensearch.org/job/benchmark-pull-request/4744/ . Final results will be published once the job is completed. |
Benchmark ResultsBenchmark Results for Job: https://build.ci.opensearch.org/job/benchmark-pull-request/4744/
|
Benchmark Baseline Comparison ResultsBenchmark Results for Job: https://build.ci.opensearch.org/job/benchmark-compare/170/
|
|
Okay, I notice very slight improvement (~5%) in the latency for |
bowenlan-amzn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice change.
|
@jainankitk commented on Oct 17, 2025, 1:07 PM PDT:
5% is normal variance. And the change seems to be same, so I'm not worried about this. |
Signed-off-by: Ankit Jain <jainankitk@apache.org>
Signed-off-by: Ankit Jain <jainankitk@apache.org>
|
{"run-benchmark-test": "id_3"} |
|
The Jenkins job url is https://build.ci.opensearch.org/job/benchmark-pull-request/4943/ . Final results will be published once the job is completed. |
Signed-off-by: Ankit Jain <jainankitk@apache.org>
Benchmark ResultsBenchmark Results for Job: https://build.ci.opensearch.org/job/benchmark-pull-request/4943/
|
Benchmark Baseline Comparison ResultsBenchmark Results for Job: https://build.ci.opensearch.org/job/benchmark-compare/175/
|
Description
Currently, PointRangeTree subaggregation optimization is skipped if there are any deleted documents. But, since we explicitly create bitset of matching docIds for each bucket in case of sub-aggregations, deleted documents can be filtered out.
Related Issues
Resolves #19642
Related PR #17447
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.