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

Support customizable BM25 score parameters in fulltext search #2410

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

yangzq50
Copy link
Contributor

What problem does this PR solve?

Support customizable BM25 score parameters, including:

  • k1, b for BM25 score (default value: k1 = 1.2, b = 0.75)
  • delta for BM25+ score (default value: delta = 0.0)
  • user can provide different delta value for term and phrase

reference: https://en.wikipedia.org/wiki/Okapi_BM25

Type of change

  • New Feature (non-breaking change which adds functionality)
  • Refactoring
  • Test cases

@yangzq50 yangzq50 force-pushed the update_phrase_score branch from 05aea05 to f9ac5d8 Compare December 26, 2024 10:08
@yangzq50 yangzq50 force-pushed the update_phrase_score branch from f9ac5d8 to f3829c4 Compare December 26, 2024 10:09
@yangzq50 yangzq50 added the ci PR can be test label Dec 26, 2024
@yangzq50 yangzq50 force-pushed the update_phrase_score branch from 62b053a to 993c24b Compare December 26, 2024 11:53
@yangzq50 yangzq50 added ci PR can be test and removed ci PR can be test labels Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci PR can be test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant