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 document source and score field mismatch in sorted hybrid queries #1057

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 030e3f4 from #1043

Copy link

codecov bot commented Jan 3, 2025

Codecov Report

Attention: Patch coverage is 54.54545% with 5 lines in your changes missing coverage. Please review.

Project coverage is 79.78%. Comparing base (51ddbb2) to head (6d00a08).
Report is 1 commits behind head on 2.x.

Files with missing lines Patch % Lines
...arch/collector/HybridTopFieldDocSortCollector.java 54.54% 5 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                2.x    #1057      +/-   ##
============================================
+ Coverage     79.69%   79.78%   +0.09%     
- Complexity     1104     1106       +2     
============================================
  Files            87       87              
  Lines          3802     3805       +3     
  Branches        649      649              
============================================
+ Hits           3030     3036       +6     
+ Misses          522      521       -1     
+ Partials        250      248       -2     

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

…es (#1043)

* Fixed mismatch between document source and score fields when sorting is enabled in hybrid query

Signed-off-by: Martin Gaievski <[email protected]>
(cherry picked from commit 030e3f4)
Signed-off-by: Martin Gaievski <[email protected]>
@martin-gaievski martin-gaievski force-pushed the backport/backport-1043-to-2.x branch from 6c41ae7 to 6d00a08 Compare January 3, 2025 23:29
@martin-gaievski martin-gaievski merged commit c27fa94 into 2.x Jan 3, 2025
98 of 138 checks passed
heemin32 pushed a commit to heemin32/neural-search that referenced this pull request Jan 9, 2025
…es (opensearch-project#1043) (opensearch-project#1057)

* Fixed mismatch between document source and score fields when sorting is enabled in hybrid query


(cherry picked from commit 030e3f4)

Signed-off-by: Martin Gaievski <[email protected]>
Co-authored-by: Martin Gaievski <[email protected]>
@peterzhuamazon peterzhuamazon deleted the backport/backport-1043-to-2.x branch January 21, 2025 20:34
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