Class SegmentCommitInfo
Embeds a [read-only] SegmentInfo and adds per-commit fields.
@lucene.experimental
Inheritance
Assembly: DistributedLucene.Net.dll
Syntax
public class SegmentCommitInfo : object
Constructors
Name | Description |
---|---|
SegmentCommitInfo(SegmentInfo, Int32, Int64, Int64) | Sole constructor. |
Properties
Name | Description |
---|---|
DelCount | Returns the number of deleted docs in the segment. |
DelGen | Returns generation number of the live docs file or -1 if there are no deletes yet. |
FieldInfosGen | Returns the generation number of the field infos file or -1 if there are no field updates yet. |
HasDeletions | Returns |
HasFieldUpdates | Returns |
Info | The SegmentInfo that we wrap. |
NextDelGen | Returns the next available generation number of the live docs file. |
NextFieldInfosGen | Returns the next available generation number of the FieldInfos files. |
UpdatesFiles | Returns the per generation updates files. |
Methods
Name | Description |
---|---|
Clone() | |
GetFiles() | Returns all files in use by this segment. |
GetSizeInBytes() | Returns total size in bytes of all files for this segment. NOTE: this value is not correct for 3.0 segments that have shared docstores. To get the correct value, upgrade! |
SetGenUpdatesFiles(IDictionary<Int64, ISet<String>>) | Sets the updates file names per generation. Does not deep clone the map. |
ToString() | |
ToString(Directory, Int32) | Returns a description of this segment. |