Hi,

I was looking at Lucene's code for MoreLikeThis, specifically this line:
https://github.com/apache/lucene/blob/69b040fc6292ac47d7f7fc8bc3b7fd601794e54b/lucene/queries/src/java/org/apache/lucene/queries/mlt/MoreLikeThis.java#L640

It looks like in ClassicSimilarity, TF is a square root, but in the code TF
is used without the ClassicSimilarity::tf() function called. Is that a bug
- it will make TF have a disproportionately higher weight compared to IDF?

--Petko

Reply via email to