ehatcher 2004/06/15 17:16:16 Modified: xdocs fileformats.xml docs fileformats.html Log: bring segments file documentation back in sync with code changes Revision Changes Path 1.13 +17 -5 jakarta-lucene/xdocs/fileformats.xml Index: fileformats.xml =================================================================== RCS file: /home/cvs/jakarta-lucene/xdocs/fileformats.xml,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- fileformats.xml 12 Jun 2004 16:54:37 -0000 1.12 +++ fileformats.xml 16 Jun 2004 00:16:16 -0000 1.13 @@ -694,11 +694,15 @@

- Segments --> SegCount, <SegName, SegSize>SegCount + Segments --> Format, Version, SegCount, <SegName, SegSize>SegCount

- SegCount, SegSize --> UInt32 + Format, SegCount, SegSize --> UInt32 +

+ +

+ Version --> UInt64

@@ -706,9 +710,17 @@

+ Format is -1 in Lucene 1.4. +

+ +

+ Version counts how often the index has been + changed by adding or deleting documents. +

+ +

SegName is the name of the segment, and is used as the file name prefix - for - all of the files that compose the segment's index. + for all of the files that compose the segment's index.

@@ -940,7 +952,7 @@ term's text.

TIVersion names the version of the format - of this file and is -1 in Lucene 1.4. + of this file and is -2 in Lucene 1.4.

Term text prefixes are shared. The PrefixLength is the number of initial 1.26 +14 -5 jakarta-lucene/docs/fileformats.html Index: fileformats.html =================================================================== RCS file: /home/cvs/jakarta-lucene/docs/fileformats.html,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- fileformats.html 12 Jun 2004 16:54:37 -0000 1.25 +++ fileformats.html 16 Jun 2004 00:16:16 -0000 1.26 @@ -1096,18 +1096,27 @@ segment.

- Segments --> SegCount, <SegName, SegSize>SegCount + Segments --> Format, Version, SegCount, <SegName, SegSize>SegCount

- SegCount, SegSize --> UInt32 + Format, SegCount, SegSize --> UInt32 +

+

+ Version --> UInt64

SegName --> String

+ Format is -1 in Lucene 1.4. +

+

+ Version counts how often the index has been + changed by adding or deleting documents. +

+

SegName is the name of the segment, and is used as the file name prefix - for - all of the files that compose the segment's index. + for all of the files that compose the segment's index.

SegSize is the number of documents contained in the segment index. @@ -1367,7 +1376,7 @@ term's text.

TIVersion names the version of the format - of this file and is -1 in Lucene 1.4. + of this file and is -2 in Lucene 1.4.

Term text prefixes are shared. The PrefixLength is the number of initial --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-dev-help@jakarta.apache.org