Deprecate the LegacyBM25Similarity
class and default to BM25Similarity
#17315
Labels
enhancement
Enhancement or improvement to existing feature or request
Search:Performance
v3.0.0
Issues and PRs related to version 3.0.0
Is your feature request related to a problem? Please describe
Coming from LegacyBM25Similarity and from @msfroh comment here #17241 (comment), the class already includes a note advising users to use Lucene's
BM25Similarity
. Since the work for the 3.0.0 release has begun, this is the perfect opportunity to default the scoring toBM25Similarity
.The change is focused on moving from a legacy implementation to the current Lucene
BM25Similarity
, which provides a cleaner and more standardized way scoring. The switch fromLegacyBM25Similarity
toBM25Similarity
doesn't change the core ranking/scoring behavior in a way that would significantly impact search results.Describe the solution you'd like
Default to Lucene's
BM25Similarity
, while allowing users to chooseLegacyBM25Similarity
if required.Example
Related component
Search:Performance
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: