Skip to content
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

[Backport 2.x] Create separate SourceLookup instance per segment slice in SignificantTextAggregatorFactory #8880

Merged

Conversation

jed326
Copy link
Collaborator

@jed326 jed326 commented Jul 25, 2023

Description

2.x Backport for #8807

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff
  • Commit changes are listed out in CHANGELOG.md file (See: Changelog)

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.

…tTextAggregatorFactory (opensearch-project#8807)

* Remove flakey assertion in SearchTimeoutIT

Signed-off-by: Jay Deng <jayd0104@gmail.com>

* Create separate SourceLookup instance per segment slice in SignificantTextAggregatorFactory

Signed-off-by: Jay Deng <jayd0104@gmail.com>

---------

Signed-off-by: Jay Deng <jayd0104@gmail.com>
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@codecov
Copy link

codecov bot commented Jul 25, 2023

Codecov Report

Merging #8880 (f743ad5) into 2.x (cfa5573) will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##                2.x    #8880      +/-   ##
============================================
+ Coverage     70.74%   70.78%   +0.04%     
- Complexity    57286    57333      +47     
============================================
  Files          4744     4744              
  Lines        271050   271049       -1     
  Branches      39976    39976              
============================================
+ Hits         191750   191861     +111     
+ Misses        62835    62736      -99     
+ Partials      16465    16452      -13     
Files Changed Coverage Δ
...bucket/terms/SignificantTextAggregatorFactory.java 92.47% <100.00%> (-0.09%) ⬇️

... and 468 files with indirect coverage changes

@jed326
Copy link
Collaborator Author

jed326 commented Jul 25, 2023

@sohami @andrross @reta here's the backport for #8807, could one of you help review & merge? Thanks!

@andrross andrross merged commit 4897ad5 into opensearch-project:2.x Jul 25, 2023
@jed326 jed326 deleted the backport/backport-8807-to-2.x branch September 13, 2023 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants