On Sun, Apr 15, 2012 at 12:14 PM, Yonik Seeley <yo...@lucidimagination.com> wrote: > That's just because Lucene "normalizes" scores. By default, this is > really just multiplying scores by a magic constant (that by default is > the inverse of the sum of squared weights)
Sorry... I missed the square root. Should be "inverse of the square root of the sum of squared weights". See DefaultSimilarity.queryNorm: public float queryNorm(float sumOfSquaredWeights) { return (float)(1.0 / Math.sqrt(sumOfSquaredWeights)); } -Yonik lucenerevolution.com - Lucene/Solr Open Source Search Conference. Boston May 7-10