From c2065b4a3fa95ddb1551739bb02f5949ade72b2d Mon Sep 17 00:00:00 2001 From: Yonik Seeley Date: Fri, 28 Oct 2005 05:05:35 +0000 Subject: [PATCH] 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 --- docs/fileformats.html | 7 +++++-- xdocs/fileformats.xml | 8 ++++++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/docs/fileformats.html b/docs/fileformats.html index 8f36120d730..368aafe0bdf 100644 --- a/docs/fileformats.html +++ b/docs/fileformats.html @@ -1077,10 +1077,10 @@ limitations under the License. segment.

- 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.