Chris Hostetter wrote: > > unless i'm mistaken, docFreq isn't the only method affected by deleted > docs, things like termDocs, termPositions, terms, ... pretty much all of > hte IndexReader methods work that way (even getFieldNames could be > missleading if the only doc with a field of that name has been deleted) >
TermDocs and TermPositions do take deleted docs into account. The problem with TermEnum and docFreq is that a term doesn't get deleted from the dictionary, even if its posting list only contains deleted docs. To avoid this would be quite inefficient. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]