Package org.apache.lucene.index
Class CheckIndex.Status.SegmentInfoStatus
- java.lang.Object
-
- org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
-
- Enclosing class:
- CheckIndex.Status
public static class CheckIndex.Status.SegmentInfoStatus extends Object
Holds the status of each segment in the index. SeeCheckIndex.Status.segmentInfos.- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
-
Field Summary
Fields Modifier and Type Field Description CodeccodecCodec used to read this segment.booleancompoundTrue if segment is compound file format.longdeletionsGenCurrent deletions generation.Map<String,String>diagnosticsMap that includes certain debugging details that IndexWriter records into each segment it createsCheckIndex.Status.DocValuesStatusdocValuesStatusStatus for testing of DocValues (null if DocValues could not be tested).ThrowableerrorException thrown during segment test (null on success)CheckIndex.Status.FieldInfoStatusfieldInfoStatusStatus for testing of field infosCheckIndex.Status.FieldNormStatusfieldNormStatusStatus for testing of field norms (null if field norms could not be tested).booleanhasDeletionsTrue if this segment has pending deletions.CheckIndex.Status.IndexSortStatusindexSortStatusStatus of index sortCheckIndex.Status.LiveDocStatusliveDocStatusStatus for testing of livedocsintmaxDocDocument count (does not take deletions into account).StringnameName of the segment.intnumFilesNumber of files referenced by this segment.booleanopenReaderPassedTrue if we were able to open a CodecReader on this segment.CheckIndex.Status.PointsStatuspointsStatusStatus for testing of PointValues (null if PointValues could not be tested).doublesizeMBNet size (MB) of the files referenced by this segment.CheckIndex.Status.SoftDeletsStatussoftDeletesStatusStatus of soft deletesCheckIndex.Status.StoredFieldStatusstoredFieldStatusStatus for testing of stored fields (null if stored fields could not be tested).CheckIndex.Status.TermIndexStatustermIndexStatusStatus for testing of indexed terms (null if indexed terms could not be tested).CheckIndex.Status.TermVectorStatustermVectorStatusStatus for testing of term vectors (null if term vectors could not be tested).inttoLoseDocCountdoc count in this segmentCheckIndex.Status.VectorValuesStatusvectorValuesStatusStatus of vectors
-
-
-
Field Detail
-
name
public String name
Name of the segment.
-
codec
public Codec codec
Codec used to read this segment.
-
maxDoc
public int maxDoc
Document count (does not take deletions into account).
-
compound
public boolean compound
True if segment is compound file format.
-
numFiles
public int numFiles
Number of files referenced by this segment.
-
sizeMB
public double sizeMB
Net size (MB) of the files referenced by this segment.
-
hasDeletions
public boolean hasDeletions
True if this segment has pending deletions.
-
deletionsGen
public long deletionsGen
Current deletions generation.
-
openReaderPassed
public boolean openReaderPassed
True if we were able to open a CodecReader on this segment.
-
toLoseDocCount
public int toLoseDocCount
doc count in this segment
-
diagnostics
public Map<String,String> diagnostics
Map that includes certain debugging details that IndexWriter records into each segment it creates
-
liveDocStatus
public CheckIndex.Status.LiveDocStatus liveDocStatus
Status for testing of livedocs
-
fieldInfoStatus
public CheckIndex.Status.FieldInfoStatus fieldInfoStatus
Status for testing of field infos
-
fieldNormStatus
public CheckIndex.Status.FieldNormStatus fieldNormStatus
Status for testing of field norms (null if field norms could not be tested).
-
termIndexStatus
public CheckIndex.Status.TermIndexStatus termIndexStatus
Status for testing of indexed terms (null if indexed terms could not be tested).
-
storedFieldStatus
public CheckIndex.Status.StoredFieldStatus storedFieldStatus
Status for testing of stored fields (null if stored fields could not be tested).
-
termVectorStatus
public CheckIndex.Status.TermVectorStatus termVectorStatus
Status for testing of term vectors (null if term vectors could not be tested).
-
docValuesStatus
public CheckIndex.Status.DocValuesStatus docValuesStatus
Status for testing of DocValues (null if DocValues could not be tested).
-
pointsStatus
public CheckIndex.Status.PointsStatus pointsStatus
Status for testing of PointValues (null if PointValues could not be tested).
-
indexSortStatus
public CheckIndex.Status.IndexSortStatus indexSortStatus
Status of index sort
-
vectorValuesStatus
public CheckIndex.Status.VectorValuesStatus vectorValuesStatus
Status of vectors
-
softDeletesStatus
public CheckIndex.Status.SoftDeletsStatus softDeletesStatus
Status of soft deletes
-
error
public Throwable error
Exception thrown during segment test (null on success)
-
-