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 @@ </p> <p> - Segments --> SegCount, <SegName, SegSize><sup>SegCount</sup> + Segments --> Format, Version, SegCount, <SegName, SegSize><sup>SegCount</sup> </p> <p> - SegCount, SegSize --> UInt32 + Format, SegCount, SegSize --> UInt32 + </p> + + <p> + Version --> UInt64 </p> <p> @@ -706,9 +710,17 @@ </p> <p> + Format is -1 in Lucene 1.4. + </p> + + <p> + Version counts how often the index has been + changed by adding or deleting documents. + </p> + + <p> 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. </p> <p> @@ -940,7 +952,7 @@ term's text. </p> <p>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. </p> <p>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. </p> <p> - Segments --> SegCount, <SegName, SegSize><sup>SegCount</sup> + Segments --> Format, Version, SegCount, <SegName, SegSize><sup>SegCount</sup> </p> <p> - SegCount, SegSize --> UInt32 + Format, SegCount, SegSize --> UInt32 + </p> + <p> + Version --> UInt64 </p> <p> SegName --> String </p> <p> + Format is -1 in Lucene 1.4. + </p> + <p> + Version counts how often the index has been + changed by adding or deleting documents. + </p> + <p> 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. </p> <p> SegSize is the number of documents contained in the segment index. @@ -1367,7 +1376,7 @@ term's text. </p> <p>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. </p> <p>Term text prefixes are shared. The PrefixLength is the number of initial
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]