Can someone explain how I can override the default behavior of the tf
contributing a higher score for documents with repeated words?

For example:

Query: "foo"
Doc1: "foo bar" score 1.0
Doc2: "foo foo bar" score 1.1

Doc2 contains "foo" twice so it is scored higher. How can I override this
behavior?
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Similarity-tp920366p920366.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to