java.lang.Object | |
↳ | org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus |
Holds the status of each segment in the index.
See segmentInfos
.
WARNING: this API is new and experimental and is subject to suddenly change in the next release.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
compound | True if segment is compound file format. | ||||||||||
deletionsFileName | Name of the current deletions file name. | ||||||||||
diagnostics | Map that includes certain debugging details that IndexWriter records into each segment it creates | ||||||||||
docCount | Document count (does not take deletions into account). | ||||||||||
docStoreCompoundFile | True if the shared doc store files are compound file format. | ||||||||||
docStoreOffset | Doc store offset, if this segment shares the doc store files (stored fields and term vectors) with other segments. | ||||||||||
docStoreSegment | String of the shared doc store segment, or null if this segment does not share the doc store files. | ||||||||||
fieldNormStatus | Status for testing of field norms (null if field norms could not be tested). | ||||||||||
hasDeletions | True if this segment has pending deletions. | ||||||||||
hasProx | True if at least one of the fields in this segment does not omitTermFreqAndPositions. | ||||||||||
name | Name of the segment. | ||||||||||
numDeleted | Number of deleted documents. | ||||||||||
numFiles | Number of files referenced by this segment. | ||||||||||
openReaderPassed | True if we were able to open a SegmentReader on this segment. | ||||||||||
sizeMB | Net size (MB) of the files referenced by this segment. | ||||||||||
storedFieldStatus | Status for testing of stored fields (null if stored fields could not be tested). | ||||||||||
termIndexStatus | Status for testing of indexed terms (null if indexed terms could not be tested). | ||||||||||
termVectorStatus | Status for testing of term vectors (null if term vectors could not be tested). |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
True if segment is compound file format.
Map that includes certain debugging details that IndexWriter records into each segment it creates
Document count (does not take deletions into account).
True if the shared doc store files are compound file format.
Doc store offset, if this segment shares the doc store files (stored fields and term vectors) with other segments. This is -1 if it does not share.
String of the shared doc store segment, or null if this segment does not share the doc store files.
Status for testing of field norms (null if field norms could not be tested).
True if this segment has pending deletions.
True if at least one of the fields in this segment does not omitTermFreqAndPositions.
Number of deleted documents.
Number of files referenced by this segment.
True if we were able to open a SegmentReader on this segment.
Net size (MB) of the files referenced by this segment.
Status for testing of stored fields (null if stored fields could not be tested).
Status for testing of indexed terms (null if indexed terms could not be tested).
Status for testing of term vectors (null if term vectors could not be tested).