You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jeff Rogers (JIRA)" <ji...@apache.org> on 2007/05/29 20:32:15 UTC

[jira] Commented: (LUCENE-349) Documentation for tii and tis files seems to be out of sync with code

    [ https://issues.apache.org/jira/browse/LUCENE-349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12499876 ] 

Jeff Rogers commented on LUCENE-349:
------------------------------------

Looking at the code it appears that SkipDelta is only written to the tis file when DocFreq is larger than SkipInterval - the docs do not reflect this variability.

> Documentation for tii and tis files seems to be out of sync with code
> ---------------------------------------------------------------------
>
>                 Key: LUCENE-349
>                 URL: https://issues.apache.org/jira/browse/LUCENE-349
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Website
>    Affects Versions: CVS Nightly - Specify date in submission
>         Environment: Operating System: All
> Platform: PC
>            Reporter: Garrett Rooney
>
> The documentation on the .tii file in fileformats.xml seems to be out of sync
> with the actual code in TermInfosReader.java.
> Specifically, the docs for the TermInfosIndex file seems to leave out several
> fields that are read from the file in the readIndex() method (well, specifically
> they're read in by the SegmentTermEnum constructor, but you get the idea).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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