lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Naber <lucenel...@danielnaber.de>
Subject Possible bug in TermInfosReader/Writer
Date Sun, 05 Jun 2005 14:34:30 GMT
Hi,

I don't understand this code:

if (ti.docFreq >= skipInterval)
  output.writeVInt(ti.skipOffset);

What does the skipInterval have to do with the document frequency? 
Shouldn't that be something like if (i % skipInterval == 0), so that the 
skip information is written regularly?

Opinions?

Regards
 Daniel

-- 
http://www.danielnaber.de

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message