document the counter used to generate new segment names in the segments file

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@329098 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2005-10-28 05:05:35 +00:00
parent a7ef75f3e8
commit c2065b4a3f
2 changed files with 11 additions and 4 deletions

View File

@ -1077,10 +1077,10 @@ limitations under the License.
segment. segment.
</p> </p>
<p> <p>
Segments --&gt; Format, Version, SegCount, &lt;SegName, SegSize&gt;<sup>SegCount</sup> Segments --&gt; Format, Version, NameCounter, SegCount, &lt;SegName, SegSize&gt;<sup>SegCount</sup>
</p> </p>
<p> <p>
Format, SegCount, SegSize --&gt; UInt32 Format, NameCounter, SegCount, SegSize --&gt; UInt32
</p> </p>
<p> <p>
Version --&gt; UInt64 Version --&gt; UInt64
@ -1094,6 +1094,9 @@ limitations under the License.
<p> <p>
Version counts how often the index has been Version counts how often the index has been
changed by adding or deleting documents. changed by adding or deleting documents.
</p>
<p>
NameCounter is used to generate names for new segment files.
</p> </p>
<p> <p>
SegName is the name of the segment, and is used as the file name prefix SegName is the name of the segment, and is used as the file name prefix

View File

@ -698,11 +698,11 @@
</p> </p>
<p> <p>
Segments --&gt; Format, Version, SegCount, &lt;SegName, SegSize&gt;<sup>SegCount</sup> Segments --&gt; Format, Version, NameCounter, SegCount, &lt;SegName, SegSize&gt;<sup>SegCount</sup>
</p> </p>
<p> <p>
Format, SegCount, SegSize --&gt; UInt32 Format, NameCounter, SegCount, SegSize --&gt; UInt32
</p> </p>
<p> <p>
@ -722,6 +722,10 @@
changed by adding or deleting documents. changed by adding or deleting documents.
</p> </p>
<p>
NameCounter is used to generate names for new segment files.
</p>
<p> <p>
SegName is the name of the segment, and is used as the file name prefix 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.