-
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Ankit Jain <[email protected]>
|
❌ 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 <[email protected]>
|
{"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.11% 73.13% +0.02%
- Complexity 70661 70708 +47
============================================
Files 5724 5725 +1
Lines 323498 323743 +245
Branches 46852 46883 +31
============================================
+ Hits 236518 236776 +258
- Misses 67846 67878 +32
+ Partials 19134 19089 -45 ☔ 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 |
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.