lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "王建新" <>
Subject a question about MultiSearcher
Date Fri, 18 Apr 2008 11:42:30 GMT
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?

why not lucene consider giving a method to set the numDocs for class
just like:

        IndexWriter writer=new IndexWrite(......


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