-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Change InternalSignificantTerms to only sum shard level counts in final reduce #8735
Change InternalSignificantTerms to only sum shard level counts in final reduce #8735
Conversation
eceb1dc
to
4625f98
Compare
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Codecov Report
@@ Coverage Diff @@
## main #8735 +/- ##
============================================
+ Coverage 70.76% 70.84% +0.08%
- Complexity 57111 57144 +33
============================================
Files 4771 4771
Lines 270241 270251 +10
Branches 39500 39502 +2
============================================
+ Hits 191237 191465 +228
+ Misses 62846 62633 -213
+ Partials 16158 16153 -5
|
4625f98
to
7566b29
Compare
Gradle Check (Jenkins) Run Completed with:
|
f6c78b9
to
d3e172e
Compare
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
d3e172e
to
bb7730e
Compare
Gradle Check (Jenkins) Run Completed with:
|
bb7730e
to
3e66a1e
Compare
Gradle Check (Jenkins) Run Completed with:
|
3e66a1e
to
a4ab229
Compare
Gradle Check (Jenkins) Run Completed with:
|
...Test/java/org/opensearch/search/aggregations/bucket/SignificantTermsSignificanceScoreIT.java
Outdated
Show resolved
Hide resolved
.../src/main/java/org/opensearch/search/aggregations/bucket/terms/InternalSignificantTerms.java
Outdated
Show resolved
Hide resolved
.../src/main/java/org/opensearch/search/aggregations/bucket/terms/InternalSignificantTerms.java
Outdated
Show resolved
Hide resolved
a4ab229
to
0f4bbd5
Compare
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.
lgtm. Thanks!
0f4bbd5
to
1f0851c
Compare
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
…al reduce Signed-off-by: Jay Deng <[email protected]>
1f0851c
to
11e49db
Compare
Gradle Check (Jenkins) Run Completed with:
|
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/backport-2.x
# Create a new branch
git switch --create backport/backport-8735-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 6cc8da561512890c437ef5c605ad99b575ff858b
# Push it to GitHub
git push --set-upstream origin backport/backport-8735-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/backport-2.x Then, create a pull request where the |
…al reduce (opensearch-project#8735) Signed-off-by: Jay Deng <[email protected]>
…al reduce (#8735) (#8806) Signed-off-by: Jay Deng <[email protected]>
…al reduce (opensearch-project#8735) Signed-off-by: Jay Deng <[email protected]>
…al reduce (opensearch-project#8735) Signed-off-by: Jay Deng <[email protected]> Signed-off-by: Kaushal Kumar <[email protected]>
…al reduce (opensearch-project#8735) Signed-off-by: Jay Deng <[email protected]> Signed-off-by: Ivan Brusic <[email protected]>
…al reduce (opensearch-project#8735) Signed-off-by: Jay Deng <[email protected]> Signed-off-by: Shivansh Arora <[email protected]>
Description
Implements solution 2 from #8703 (comment)
In short: supersetSize and supersetDf are shard level counts that are gathered via count queries. In concurrent segment search these will still be shard level counts rather than segment slice level counts, so we do not want to sum up these counts across segment slices, only at the coordinator level (across shards)
Related Issues
Resolves #8703
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.