mirror of https://github.com/apache/lucene.git
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:
parent
a7ef75f3e8
commit
c2065b4a3f
|
@ -1077,10 +1077,10 @@ limitations under the License.
|
|||
segment.
|
||||
</p>
|
||||
<p>
|
||||
Segments --> Format, Version, SegCount, <SegName, SegSize><sup>SegCount</sup>
|
||||
Segments --> Format, Version, NameCounter, SegCount, <SegName, SegSize><sup>SegCount</sup>
|
||||
</p>
|
||||
<p>
|
||||
Format, SegCount, SegSize --> UInt32
|
||||
Format, NameCounter, SegCount, SegSize --> UInt32
|
||||
</p>
|
||||
<p>
|
||||
Version --> UInt64
|
||||
|
@ -1094,6 +1094,9 @@ limitations under the License.
|
|||
<p>
|
||||
Version counts how often the index has been
|
||||
changed by adding or deleting documents.
|
||||
</p>
|
||||
<p>
|
||||
NameCounter is used to generate names for new segment files.
|
||||
</p>
|
||||
<p>
|
||||
SegName is the name of the segment, and is used as the file name prefix
|
||||
|
|
|
@ -698,11 +698,11 @@
|
|||
</p>
|
||||
|
||||
<p>
|
||||
Segments --> Format, Version, SegCount, <SegName, SegSize><sup>SegCount</sup>
|
||||
Segments --> Format, Version, NameCounter, SegCount, <SegName, SegSize><sup>SegCount</sup>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Format, SegCount, SegSize --> UInt32
|
||||
Format, NameCounter, SegCount, SegSize --> UInt32
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
@ -722,6 +722,10 @@
|
|||
changed by adding or deleting documents.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
NameCounter is used to generate names for new segment files.
|
||||
</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.
|
||||
|
|
Loading…
Reference in New Issue