lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Miller <>
Subject Re: Whither Query Norm?
Date Fri, 20 Nov 2009 16:15:13 GMT
Mark Miller wrote:
> Grant Ingersoll wrote:
>>  At a minimum, I think we might be able to refactor the callback mechanism for it
just as we did for the collectors, such that we push of the actual calculation of the sum
of squares into Similarity, instead of just doing 1/sqrt(sumSqs).  That way, when people want
to override queryNorm() to return 1, they are saving more than just the 1/sqrt calculation.
By the way - this issue does just that I don't think its
really any measurable perf savings, but it certainly makes more sense.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message