On 3/13/2011 6:24 PM, Ahmet Arslan wrote:
http://lucene.apache.org/java/2_9_1/api/core/org/apache/lucene/search/Similarity.html#formula_norm I can see that the one with 5 matches is longer than the other. Shorter documents are favored in solr/lucene with length normalization factor.
Is there any easy way to turn this off for a given field? That is, I think, to still have the iDF be used, but not the TF. Maybe that's it. but anyway, to turn off document length normalization, but only for a certain field?
I'm not sure if that's what useNorms does, or if useNorms does _more_ than this, including some things I wouldn't want, or if there is some other parameter that would do this instead?
Thanks for any advice, Jonathan