lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doron Cohen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-706) Index File Format - Example for frequency file .frq is wrong
Date Fri, 03 Nov 2006 18:43:18 GMT
    [ 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message