Skip to content

fix issue 18446 NPE by making sure scoreSupplier.get() returns non-null scorer#19650

Merged
cwperks merged 2 commits into
opensearch-project:mainfrom
haruki1243:fix-issue-18446-NPE
Nov 5, 2025
Merged

fix issue 18446 NPE by making sure scoreSupplier.get() returns non-null scorer#19650
cwperks merged 2 commits into
opensearch-project:mainfrom
haruki1243:fix-issue-18446-NPE

add tests and changelog

9e69b55
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Nov 5, 2025 in 1s

73.20% (target 70.00%)

View this Pull Request on Codecov

73.20% (target 70.00%)

Details

Codecov Report

❌ Patch coverage is 78.57143% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 73.20%. Comparing base (db72ca2) to head (9e69b55).
⚠️ Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
...ommon/lucene/search/function/ScriptScoreQuery.java 78.57% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #19650      +/-   ##
============================================
+ Coverage     73.09%   73.20%   +0.11%     
- Complexity    71062    71224     +162     
============================================
  Files          5754     5766      +12     
  Lines        325260   325459     +199     
  Branches      47036    47080      +44     
============================================
+ Hits         237736   238240     +504     
+ Misses        68383    68084     -299     
+ Partials      19141    19135       -6     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.