lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Naber <>
Subject Re: a question about MultiSearcher
Date Fri, 18 Apr 2008 18:21:02 GMT
On Freitag, 18. April 2008, 王建新 wrote:

> If I search in multiple dirs,I can use MultiSearcher.
> The idf about a term is log(numDocs/(docFreq+1)+1).
> In the two kinds of condition:
>     1.only 1 dir to search
>     2. 2 dirs to search
> the idf about a term is not the same?

It should be the same, unless you are using an old version of Lucene (1.4 
or older). If it doesn't work for you, could you provide a test case? BTW, 
there's more traffic and a better chance for an answer on the mailing list.



View raw message