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

Onboard rerank by field processor #476

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

ohltyler
Copy link
Member

@ohltyler ohltyler commented Nov 12, 2024

Description

Onboards the rerank search response processor (by_field type only). This can be used in conjunction with a reranking model, to re-sort the returned documents by the model's scores, instead of the default BM25 _score.

Demo video, showing the basic re-sorting by review field instead of _score.

screen-capture.2.webm

Check List

  • Commits are signed per the DCO using --signoff

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.

Copy link
Collaborator

@saimedhi saimedhi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@ohltyler ohltyler merged commit 4025002 into opensearch-project:main Nov 13, 2024
8 of 10 checks passed
@ohltyler ohltyler deleted the rerank-processor branch November 13, 2024 21:32
opensearch-trigger-bot bot pushed a commit that referenced this pull request Nov 13, 2024
Signed-off-by: Tyler Ohlsen <[email protected]>
(cherry picked from commit 4025002)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ohltyler pushed a commit that referenced this pull request Nov 13, 2024
(cherry picked from commit 4025002)

Signed-off-by: Tyler Ohlsen <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants