lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <ysee...@gmail.com>
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 MultiSearcher.search
(weight,filter,ndocs,sort)
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.

Thoughts?

-Yonik
Now hiring -- http://forms.cnet.com/slink?231706

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