SegmentCommitInfo
Embeds a read-only SegmentInfo and adds per-commit fields.
Properties
Returns the generation number of the DocValues file or -1 if there are no doc-values updates yet.
Returns the generation number of the field infos file or -1 if there are no field updates yet.
The SegmentInfo that we wrap.
Returns the next available generation number of the live docs file.
Returns the next available generation number of the DocValues files.
Returns the next available generation number of the FieldInfos files.
Functions
Called when we succeed in writing deletes
Called when we succeed in writing a new DocValues generation.
Called when we succeed in writing a new FieldInfos generation.
Called if there was an exception while writing deletes, so that we don't try to write to the same file more than once.
Called if there was an exception while writing a new generation of DocValues, so that we don't try to write to the same file more than once.
Called if there was an exception while writing a new generation of FieldInfos, so that we don't try to write to the same file more than once.
Returns all files in use by this segment.
Returns the FieldInfos file names.
Gets the nextWriteDelGen.
Gets the nextWriteDocValuesGen.
Gets the nextWriteFieldInfosGen.
Returns the number of only soft-deleted docs.
Returns true if there are any deletions for the segment at this commit.
Returns true if there are any field updates for the segment in this commit.
Sets the FieldInfos file names.
Sets the nextWriteDelGen.
Sets the nextWriteDocValuesGen.
Sets the nextWriteFieldInfosGen.
Returns total size in bytes of all files for this segment.