You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Aditya Liviandi <ad...@i2r.a-star.edu.sg> on 2006/01/12 07:24:31 UTC

question on file formats

For .frq

In the fileformats documentation online it has the example

>>>>>>>>>
For example, the TermFreqs for a term which occurs once in document
seven and three times in document eleven would be the following sequence
of VInts:

15,22,3   (all decimals)
>>>>>>>>>

shouldn't it be

15,8,3   (all decimals)

as DocDelta/2 is the difference of between the current and the prev
document number?


--------------------------------------------------
This email is confidential and may be privileged.  If you are not the intended recipient, please delete it and notify us immediately. Please do not copy or use it for any purpose, or disclose its contents to any other person. Thank you.
--------------------------------------------------

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