lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Naber <>
Subject Re: Normalized Scoring -- was RE: idf and explain(), was Re: Search and Scoring
Date Thu, 21 Oct 2004 21:35:27 GMT
On Thursday 21 October 2004 23:03, Doug Cutting wrote:

> Idf's are already computed globally across all indexes.  Tf's are local
> to the document.  In short, scores from a MultiSearcher are the same as
> when searching an IndexReader with the same documents.

That doesn't seem to be the case in the attached test -- am I using 
MultiSearcher in the wrong way or what might be the problem?
The output of the attached test is:

1+2 searched with Multisearcher:
two blah three score=0.70273256
one blah three score=0.35615897
one foo three score=0.35615897
one foobar three score=0.35615897

1+2 indexed together:
one blah three score=0.5911608
one foo three score=0.5911608
one foobar three score=0.5911608
two blah three score=0.5911608


View raw message