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] Fixed inefficient Stream API call chains ending with count() (#15386) #16361

Open
wants to merge 2 commits into
base: 2.x
Choose a base branch
from

Conversation

dbwiddis
Copy link
Member

Backport 1a7018a from #15386

Copy link
Contributor

❌ Gradle check result for 2014527: 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?

Copy link
Contributor

❌ Gradle check result for 2014527: 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?

Copy link
Contributor

❌ Gradle check result for 2014527: 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?

Copy link
Contributor

❌ Gradle check result for 2014527: 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?

Copy link
Contributor

✅ Gradle check result for 2014527: SUCCESS

Copy link

codecov bot commented Oct 17, 2024

Codecov Report

Attention: Patch coverage is 85.71429% with 1 line in your changes missing coverage. Please review.

Project coverage is 71.84%. Comparing base (3ef3455) to head (dab9820).

Files with missing lines Patch % Lines
.../java/org/opensearch/percolator/QueryAnalyzer.java 85.71% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                2.x   #16361      +/-   ##
============================================
+ Coverage     71.78%   71.84%   +0.06%     
- Complexity    65079    65110      +31     
============================================
  Files          5305     5305              
  Lines        304146   304150       +4     
  Branches      44232    44234       +2     
============================================
+ Hits         218317   218511     +194     
+ Misses        67648    67491     -157     
+ Partials      18181    18148      -33     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

…rch-project#15386)

* Fixed inefficient Stream API call chains ending with count()

Signed-off-by: Dmitry Kryukov <[email protected]>

* Refactored method minTermLength() as per @sandeshkr419's advice

Signed-off-by: Dmitry Kryukov <[email protected]>

* Added a line in CHANGELOG.md

Signed-off-by: Dmitry Kryukov <[email protected]>

---------

Signed-off-by: Dmitry Kryukov <[email protected]>
Copy link
Contributor

✅ Gradle check result for 64d95b9: SUCCESS

Copy link
Contributor

✅ Gradle check result for dab9820: SUCCESS

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.

3 participants