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.10] Added validations for score combination weights in Hybrid Search #269

Merged
merged 1 commit into from
Aug 30, 2023

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 685d5d6 from #265

* Added strong check on number of weights equals number of sub-queries

Signed-off-by: Martin Gaievski <[email protected]>
(cherry picked from commit 685d5d6)
@codecov
Copy link

codecov bot commented Aug 30, 2023

Codecov Report

Merging #269 (154801b) into 2.10 (b4e4535) will increase coverage by 0.32%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##               2.10     #269      +/-   ##
============================================
+ Coverage     85.44%   85.77%   +0.32%     
- Complexity      370      376       +6     
============================================
  Files            30       30              
  Lines          1079     1104      +25     
  Branches        165      168       +3     
============================================
+ Hits            922      947      +25     
  Misses           83       83              
  Partials         74       74              
Files Changed Coverage Δ
...ation/ArithmeticMeanScoreCombinationTechnique.java 90.00% <100.00%> (+0.52%) ⬆️
...nation/GeometricMeanScoreCombinationTechnique.java 94.44% <100.00%> (+0.32%) ⬆️
...ination/HarmonicMeanScoreCombinationTechnique.java 94.44% <100.00%> (+0.32%) ⬆️
...ch/processor/combination/ScoreCombinationUtil.java 97.72% <100.00%> (+2.27%) ⬆️

@martin-gaievski martin-gaievski merged commit a446f24 into 2.10 Aug 30, 2023
@github-actions github-actions bot deleted the backport/backport-265-to-2.10 branch August 30, 2023 16:01
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