: &q=test&qf=title^1 : : Title = "test, taking test, exam" : : Solr boosts 2 points for 2 occurrences of the word "test" in the title. Is : there a way to configure solr to just give 1 point, regardless the number of : occurrences?
the "tf" value of the term "test" is what comes into play here ... if you want to change how significant the tf is in the scoring function you need to provide a custom similarity and make the tf() function return a flat value. There is ongoing work in Jira to add a new "omitTf" option to fields to give an easy way to eliminate tf completley (since there are internal otimizations that can be made in that case) but you'd have to patch Solr to try that out. BTW: the term "boost" isn't quite right in this context. a boost is a numbe that comes from the client to affect scores ... there is a "query boost" in your example which is "1" because of the "^1" in the qf param but what you are talking about is just the score. -Hoss