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
.- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
Field Summary
Modifier 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 createsStatus for testing of DocValues (null if DocValues could not be tested).Exception thrown during segment test (null on success)Status for testing of field infosStatus for testing of field norms (null if field norms could not be tested).boolean
True if this segment has pending deletions.Status of index sortStatus for testing of livedocsint
Document count (does not take deletions into account).Name of the segment.int
Number of files referenced by this segment.boolean
True if we were able to open a CodecReader on this segment.Status for testing of PointValues (null if PointValues could not be tested).double
Net size (MB) of the files referenced by this segment.Status of soft deletesStatus 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).int
doc count in this segmentStatus of vectors -
Method Summary
-
Field Details
-
name
Name of the segment. -
codec
Codec used to read this segment. -
maxDoc
public int maxDocDocument 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. -
hasDeletions
public boolean hasDeletionsTrue if this segment has pending deletions. -
deletionsGen
public long deletionsGenCurrent deletions generation. -
openReaderPassed
public boolean openReaderPassedTrue if we were able to open a CodecReader on this segment. -
toLoseDocCount
public int toLoseDocCountdoc count in this segment -
diagnostics
Map that includes certain debugging details that IndexWriter records into each segment it creates -
liveDocStatus
Status for testing of livedocs -
fieldInfoStatus
Status for testing of field infos -
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). -
pointsStatus
Status for testing of PointValues (null if PointValues could not be tested). -
indexSortStatus
Status of index sort -
vectorValuesStatus
Status of vectors -
softDeletesStatus
Status of soft deletes -
error
Exception thrown during segment test (null on success)
-