Returned from {@link #CheckIndex()} detailing the health and status of the index.

WARNING: this API is new and experimental and is subject to suddenly change in the next release.

The CheckIndex..::..Status..::..SegmentInfoStatus type exposes the following members.

Constructors

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

  NameDescription
Public fieldcompound
True if segment is compound file format.
Public fielddeletionsFileName
Name of the current deletions file name.
Public fielddiagnostics
Map<String, String> that includes certain debugging details that IndexWriter records into each segment it creates
Public fielddocCount
Document count (does not take deletions into account).
Public fielddocStoreCompoundFile
True if the shared doc store files are compound file format.
Public fielddocStoreOffset
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.
Public fielddocStoreSegment
String of the shared doc store segment, or null if this segment does not share the doc store files.
Public fieldfieldNormStatus
Status for testing of field norms (null if field norms could not be tested).
Public fieldhasDeletions
True if this segment has pending deletions.
Public fieldhasProx
True if at least one of the fields in this segment does not omitTermFreqAndPositions.
Public fieldname
Name of the segment.
Public fieldnumDeleted
Number of deleted documents.
Public fieldnumFiles
Number of files referenced by this segment.
Public fieldopenReaderPassed
True if we were able to open a SegmentReader on this segment.
Public fieldsizeMB
Net size (MB) of the files referenced by this segment.
Public fieldstoredFieldStatus
Status for testing of stored fields (null if stored fields could not be tested).
Public fieldtermIndexStatus
Status for testing of indexed terms (null if indexed terms could not be tested).
Public fieldtermVectorStatus
Status for testing of term vectors (null if term vectors could not be tested).

See Also