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 [EMAIL PROTECTED] mailing list. Regards Daniel -- http://www.danielnaber.de
