fix the information about the .tii file (but still not 100% accurate, see "TODO")

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@180084 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Daniel Naber 2005-06-05 13:10:45 +00:00
parent 4114147edd
commit 3f2a20e6f7
2 changed files with 30 additions and 12 deletions

View File

@ -120,7 +120,7 @@ limitations under the License.
<blockquote> <blockquote>
<p> <p>
This document defines the index file formats used This document defines the index file formats used
in Lucene version 1.4. in Lucene version 1.4 and above.
</p> </p>
<p> <p>
Apache Lucene is written in Java, but several Apache Lucene is written in Java, but several
@ -1458,23 +1458,32 @@ limitations under the License.
<p> <p>
TermInfoIndex (.tii)--&gt; TermInfoIndex (.tii)--&gt;
IndexTermCount, TermIndices TIVersion, IndexTermCount, IndexInterval, SkipInterval, TermIndices
</p>
<p>TIVersion --&gt;
UInt32
</p> </p>
<p>IndexTermCount --&gt; <p>IndexTermCount --&gt;
UInt64
</p>
<p>IndexInterval --&gt;
UInt32
</p>
<p>SkipInterval --&gt;
UInt32 UInt32
</p> </p>
<p>TermIndices --&gt; <p>TermIndices --&gt;
&lt;TermInfo, IndexDelta&gt;<sup>IndexTermCount</sup> &lt;TermInfo, IndexDelta&gt;<sup>IndexTermCount</sup>
</p> </p>
<p>IndexDelta --&gt; <p>IndexDelta --&gt;
VInt VLong
</p> </p>
<p>IndexDelta <p>IndexDelta
determines the position of this term's TermInfo within the .tis file. In determines the position of this term's TermInfo within the .tis file. In
particular, it is the difference between the position of this term's particular, it is the difference between the position of this term's
entry in that file and the position of the previous term's entry (or entry in that file and the position of the previous term's entry.
zero for the first term in the file).
</p> </p>
<p>TODO: document skipInterval information</p>
</li> </li>
</ol> </ol>
</blockquote> </blockquote>

View File

@ -14,7 +14,7 @@
<p> <p>
This document defines the index file formats used This document defines the index file formats used
in Lucene version 1.4. in Lucene version 1.4 and above.
</p> </p>
<p> <p>
@ -1051,23 +1051,32 @@
<p> <p>
TermInfoIndex (.tii)--&gt; TermInfoIndex (.tii)--&gt;
IndexTermCount, TermIndices TIVersion, IndexTermCount, IndexInterval, SkipInterval, TermIndices
</p>
<p>TIVersion --&gt;
UInt32
</p> </p>
<p>IndexTermCount --&gt; <p>IndexTermCount --&gt;
UInt64
</p>
<p>IndexInterval --&gt;
UInt32
</p>
<p>SkipInterval --&gt;
UInt32 UInt32
</p> </p>
<p>TermIndices --&gt; <p>TermIndices --&gt;
&lt;TermInfo, IndexDelta&gt;<sup>IndexTermCount</sup> &lt;TermInfo, IndexDelta&gt;<sup>IndexTermCount</sup>
</p> </p>
<p>IndexDelta --&gt; <p>IndexDelta --&gt;
VInt VLong
</p> </p>
<p>IndexDelta <p>IndexDelta
determines the position of this term's TermInfo within the .tis file. In determines the position of this term's TermInfo within the .tis file. In
particular, it is the difference between the position of this term's particular, it is the difference between the position of this term's
entry in that file and the position of the previous term's entry (or entry in that file and the position of the previous term's entry.
zero for the first term in the file).
</p> </p>
<p>TODO: document skipInterval information</p>
</li> </li>
</ol> </ol>
</subsection> </subsection>