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

View File

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