lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <>
Subject score normalization
Date Thu, 27 Oct 2005 19:39:49 GMT
A couple of things about score normalization...
a) search(weight,filter,ndocs) does not do normalization
b) search(weight,filter,ndocs,sort) does do normalization... even if the
sort is by score only
c) because of (b), the normalized scores given by
may be out of whack (original scores of 1.1 and 100.1 for docs on different
searchers will both be normalized to 1.0).

One way to "fix" this is to simply not normalize scores on the expert level
search methods, and provide a maxScore so that Hits (or anyone else) can do
normalization if desired.

At a minimum, we should document which methods will normalize scores.


Now hiring --

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message