Class CheckIndex.Status
Returned from DoCheckIndex() detailing the health and status of the index.
@lucene.experimental
Inheritance
Assembly: DistributedLucene.Net.dll
Syntax
public class Status : object
Properties
Name | Description |
---|---|
CantOpenSegments | True if we were unable to open the segments_N file. |
Clean | True if no problems were found with the index. |
Dir | Directory index is in. |
MaxSegmentName | The greatest segment name. |
MissingSegments | True if we were unable to locate and load the segments_N file. |
MissingSegmentVersion | True if we were unable to read the version number from segments_N file. |
NumBadSegments | How many bad segments were found. |
NumSegments | Number of segments in the index. |
Partial | True if we checked only specific segments (DoCheckIndex(IList<String>) was called with non-null argument). |
SegmentInfos | List of CheckIndex.Status.SegmentInfoStatus instances, detailing status of each segment. |
SegmentsChecked | Empty unless you passed specific segments list to check as optional 3rd argument. |
SegmentsFileName | Name of latest segments_N file in the index. |
ToolOutOfDate | True if the index was created with a newer version of Lucene than the CheckIndex tool. |
TotLoseDocCount | How many documents will be lost to bad segments. |
UserData | Holds the userData of the last commit in the index |
ValidCounter | Whether the Counter is greater than any of the segments' names. |