Details
-
Improvement
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
9.0
-
None
-
New
Description
BM25Similarity discountOverlaps parameter is true by default.
It can be set with org.apache.lucene.search.similarities.BM25Similarity#setDiscountOverlaps method.
But this method makes BM25Similarity mutable.
discountOverlaps should be set via the constructor and setDiscountOverlaps method should be removed to make BM25Similarity immutable.
Attachments
Issue Links
- links to