Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
New, Patch Available
Description
SimilarityBase.java has the following line :
long numberOfDocuments = collectionStats.maxDoc();
It seems like collectionStats.docCount(), which returns the total number of documents that have at least one term for this field, is more appropriate statistics here.
Attachments
Attachments
Issue Links
- breaks
-
LUCENE-6758 Adding a SHOULD clause to a BQ over an empty field clears the score when using DefaultSimilarity
-
- Closed
-
- relates to
-
LUCENE-6751 TestSimlarity2.testNoFieldSkew() failure
-
- Open
-