Hi,
I have made custom class for scoring the similarity
(TermFrequencyBiasedSimilarity).
The score was deduced by considering just the TF part (acheived  by setting
IDF=1).

Question is:
-----------------
*Document content:* Foo Foo is in bar
*Search query:* Foo bar
*slop:* 3

With Slop 3, There are two matches to the query
 Foo is in bar
 Foo Foo is in bar

*Should the Term Frequency be 1 or 2? Also point to the explanation of the
logic implemented in Lucene/Solr.*

--
Cheers
*Ariya *

Reply via email to