java.lang.Object | |
↳ | org.apache.lucene.index.CheckIndex.Status |
Returned from checkIndex()
detailing the health and status of the index.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CheckIndex.Status.FieldNormStatus | Status from testing field norms. | ||||||||||
CheckIndex.Status.SegmentInfoStatus | Holds the status of each segment in the index. | ||||||||||
CheckIndex.Status.StoredFieldStatus | Status from testing stored fields. | ||||||||||
CheckIndex.Status.TermIndexStatus | Status from testing term index. | ||||||||||
CheckIndex.Status.TermVectorStatus | Status from testing stored fields. |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
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. | ||||||||||
missingSegmentVersion | True if we were unable to read the version number from segments_N file. | ||||||||||
missingSegments | True if we were unable to locate and load the 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 (checkIndex(List) ) was called with non-null
argument). |
||||||||||
segmentFormat | String description of the version of the index. | ||||||||||
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 |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
True if we were unable to open the segments_N file.
True if no problems were found with the index.
True if we were unable to read the version number from segments_N file.
True if we were unable to locate and load the segments_N file.
How many bad segments were found.
Number of segments in the index.
True if we checked only specific segments (checkIndex(List)
) was called with non-null
argument).
List of CheckIndex.Status.SegmentInfoStatus
instances, detailing status of each segment.
Empty unless you passed specific segments list to check as optional 3rd argument.
True if the index was created with a newer version of Lucene than the CheckIndex tool.
How many documents will be lost to bad segments.