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 http://issues.apache.org/jira/browse/LUCENE-1907. I don't think its really any measurable perf savings, but it certainly makes more sense.
--------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org