On Tue, Jul 17, 2012 at 12:44 PM, Roman Chyla wrote:
> Hi,
>
> Tests show that TermEnum.docFreq() returns sum of all docs, including
> the deleted ones. Which seems to (indirectly) contradict the javadoc
That's right; fixing it to reflect deleted documents would be
prohibitively costly.
Hmm whic
Hi,
Tests show that TermEnum.docFreq() returns sum of all docs, including
the deleted ones. Which seems to (indirectly) contradict the javadoc
This frequency count is used to compute uninverted index
(DocTermOrds.uninvert()). The code goes like:
final int df = te.docFreq();
if (df <=