lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject Re: Score calculation with new by-segment collection
Date Thu, 30 Apr 2009 20:47:23 GMT
On Thu, Apr 30, 2009 at 4:44 PM, Earwin Burrfoot <earwin@gmail.com> wrote:
> Did I miss something, or when trunk switched to collecting on
> SegmentReaders we've lost proper scores?
> I mean, before score depended on TF calculated across all the index,
> and now it depends on TF for a given segment (yup, unless I missed
> something).
> Per-segment TF can vary wildly, especially in case of smaller segments.

tf is per-document, not per index.
idf is per index, and is calculated in the creation of Weight at the
top-level index reader.

-Yonik
http://www.lucidimagination.com

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message