[
http://issues.apache.org/jira/browse/LUCENE-706?page=comments#action_12447042 ]
Doron Cohen commented on LUCENE-706:
------------------------------------
Right -
15 = 2 * 7 + 1 --> doc 7 with freq 1
8 = 2 * (11 - 7) --> doc 11 with frequency > 1
3 --> frequency = 3 for doc 11
.frq file actual content for similar case also agrees with that, it starts like
this (Hex):
0D 08 03 01 03
(note: Hex: 0D = 15.)
> Index File Format - Example for frequency file .frq is wrong
> ------------------------------------------------------------
>
> Key: LUCENE-706
> URL: http://issues.apache.org/jira/browse/LUCENE-706
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Website
> Environment: not applicable
> Reporter: Doron Cohen
> Assigned To: Grant Ingersoll
> Priority: Trivial
> Attachments: file-format-frq-example.patch
>
>
> Reported by Johan Stuyts -
> http://www.nabble.com/Possible-documentation-error--p7012445.html -
> Frequency file example says:
> 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
> It should be:
> 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, 8, 3
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]