From c2065b4a3fa95ddb1551739bb02f5949ade72b2d Mon Sep 17 00:00:00 2001
From: Yonik Seeley
- Segments --> Format, Version, SegCount, <SegName, SegSize>SegCount + Segments --> Format, Version, NameCounter, SegCount, <SegName, SegSize>SegCount
- Format, SegCount, SegSize --> UInt32 + Format, NameCounter, SegCount, SegSize --> UInt32
Version --> UInt64 @@ -1094,6 +1094,9 @@ limitations under the License.
Version counts how often the index has been changed by adding or deleting documents. +
++ NameCounter is used to generate names for new segment files.
SegName is the name of the segment, and is used as the file name prefix diff --git a/xdocs/fileformats.xml b/xdocs/fileformats.xml index 8654c399094..ce035178d44 100644 --- a/xdocs/fileformats.xml +++ b/xdocs/fileformats.xml @@ -698,11 +698,11 @@
- Segments --> Format, Version, SegCount, <SegName, SegSize>SegCount + Segments --> Format, Version, NameCounter, SegCount, <SegName, SegSize>SegCount
- Format, SegCount, SegSize --> UInt32 + Format, NameCounter, SegCount, SegSize --> UInt32
@@ -722,6 +722,10 @@ changed by adding or deleting documents.
++ NameCounter is used to generate names for new segment files. +
+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.