Package org.apache.lucene.index
Class CheckIndex.Status.SegmentInfoStatus
java.lang.Object
org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
- Enclosing class:
- CheckIndex.Status
Holds the status of each segment in the index.
See
CheckIndex.Status.segmentInfos
.-
Field Summary
FieldsModifier and TypeFieldDescriptionCodec used to read this segment.boolean
True if segment is compound file format.long
Current deletions generation.Map that includes certain debugging details that IndexWriter records into each segment it createsint
Document count (does not take deletions into account).boolean
True if the shared doc store files are compound file format.int
Doc store offset, if this segment shares the doc store files (stored fields and term vectors) with other segments.String of the shared doc store segment, or null if this segment does not share the doc store files.Status for testing of DocValues (null if DocValues could not be tested).Status for testing of field norms (null if field norms could not be tested).boolean
True if this segment has pending deletions.Name of the segment.int
Number of deleted documents.int
Number of files referenced by this segment.boolean
True if we were able to open an AtomicReader on this segment.double
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). -
Method Summary
-
Field Details
-
name
Name of the segment. -
codec
Codec used to read this segment. -
docCount
public int docCountDocument count (does not take deletions into account). -
compound
public boolean compoundTrue if segment is compound file format. -
numFiles
public int numFilesNumber of files referenced by this segment. -
sizeMB
public double sizeMBNet size (MB) of the files referenced by this segment. -
docStoreOffset
public int docStoreOffsetDoc 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. -
docStoreSegment
String of the shared doc store segment, or null if this segment does not share the doc store files. -
docStoreCompoundFile
public boolean docStoreCompoundFileTrue if the shared doc store files are compound file format. -
hasDeletions
public boolean hasDeletionsTrue if this segment has pending deletions. -
deletionsGen
public long deletionsGenCurrent deletions generation. -
numDeleted
public int numDeletedNumber of deleted documents. -
openReaderPassed
public boolean openReaderPassedTrue if we were able to open an AtomicReader on this segment. -
diagnostics
Map that includes certain debugging details that IndexWriter records into each segment it creates -
fieldNormStatus
Status for testing of field norms (null if field norms could not be tested). -
termIndexStatus
Status for testing of indexed terms (null if indexed terms could not be tested). -
storedFieldStatus
Status for testing of stored fields (null if stored fields could not be tested). -
termVectorStatus
Status for testing of term vectors (null if term vectors could not be tested). -
docValuesStatus
Status for testing of DocValues (null if DocValues could not be tested).
-