Apache Solr open-source search software
bring segments file documentation back in sync with code changes
Erik Hatcherfd370a16776d
diff --git a/docs/fileformats.html b/docs/fileformats.htmlindex 1c72a7b2b69..773da8359af 100644--- a/docs/fileformats.html+++ b/docs/fileformats.html@@ -1096,18 +1096,27 @@ limitations under the License.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 @@ limitations under the License.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>Termtext prefixes are shared. The PrefixLength is the number of initialdiff --git a/xdocs/fileformats.xml b/xdocs/fileformats.xmlindex f2023290b70..6cf3fadf87e 100644--- a/xdocs/fileformats.xml+++ b/xdocs/fileformats.xml@@ -694,21 +694,33 @@</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>@@ -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>Termtext prefixes are shared. The PrefixLength is the number of initial