diff --git a/docs/fileformats.html b/docs/fileformats.html index 3096e287b7f..fedde8e1a71 100644 --- a/docs/fileformats.html +++ b/docs/fileformats.html @@ -120,7 +120,7 @@ limitations under the License.
diff --git a/xdocs/fileformats.xml b/xdocs/fileformats.xml index 5c5c9ee6d68..6960b94f10b 100644 --- a/xdocs/fileformats.xml +++ b/xdocs/fileformats.xml @@ -14,7 +14,7 @@This document defines the index file formats used - in Lucene version 1.4. + in Lucene version 1.4 and above.
Apache Lucene is written in Java, but several @@ -1458,23 +1458,32 @@ limitations under the License.
TermInfoIndex (.tii)--> - IndexTermCount, TermIndices + TIVersion, IndexTermCount, IndexInterval, SkipInterval, TermIndices +
+TIVersion --> + UInt32
IndexTermCount --> - UInt32 + UInt64 +
+IndexInterval --> + UInt32 +
+SkipInterval --> + UInt32
TermIndices --> <TermInfo, IndexDelta>IndexTermCount
IndexDelta --> - VInt + VLong
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.
+TODO: document skipInterval information
This document defines the index file formats used - in Lucene version 1.4. + in Lucene version 1.4 and above.
@@ -1051,23 +1051,32 @@
TermInfoIndex (.tii)--> - IndexTermCount, TermIndices + TIVersion, IndexTermCount, IndexInterval, SkipInterval, TermIndices +
+TIVersion --> + UInt32
IndexTermCount --> - UInt32 + UInt64 +
+IndexInterval --> + UInt32 +
+SkipInterval --> + UInt32
TermIndices --> <TermInfo, IndexDelta>IndexTermCount
IndexDelta --> - VInt + VLong
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.
+TODO: document skipInterval information