C# Class Lucene.Net.Index.CheckIndex.Status

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.

Afficher le fichier Open project: synhershko/lucene.net Class Usage Examples

Méthodes publiques

Свойство Type Description
cantOpenSegments bool
clean bool
dir Lucene.Net.Store.Directory
missingSegmentVersion bool
missingSegments bool
numBadSegments int
numSegments int
partial bool
segmentFormat System.String
segmentInfos IList
segmentsChecked List
segmentsFileName System.String
toolOutOfDate bool
totLoseDocCount int
userData string>.IDictionary

Property Details

cantOpenSegments public_oe property

True if we were unable to open the segments_N file.
public bool cantOpenSegments
Résultat bool

clean public_oe property

True if no problems were found with the index.
public bool clean
Résultat bool

dir public_oe property

Directory index is in.
public Lucene.Net.Store.Directory dir
Résultat Lucene.Net.Store.Directory

missingSegmentVersion public_oe property

True if we were unable to read the version number from segments_N file.
public bool missingSegmentVersion
Résultat bool

missingSegments public_oe property

True if we were unable to locate and load the segments_N file.
public bool missingSegments
Résultat bool

numBadSegments public_oe property

How many bad segments were found.
public int numBadSegments
Résultat int

numSegments public_oe property

Number of segments in the index.
public int numSegments
Résultat int

partial public_oe property

True if we checked only specific segments (CheckIndex_Renamed_Method(System.Collections.IList)) was called with non-null argument).
public bool partial
Résultat bool

segmentFormat public_oe property

String description of the version of the index.
public String,System segmentFormat
Résultat System.String

segmentInfos public_oe property

List of SegmentInfoStatus instances, detailing status of each segment.
public IList segmentInfos
Résultat IList

segmentsChecked public_oe property

Empty unless you passed specific segments list to check as optional 3rd argument.
public List segmentsChecked
Résultat List

segmentsFileName public_oe property

Name of latest segments_N file in the index.
public String,System segmentsFileName
Résultat System.String

toolOutOfDate public_oe property

True if the index was created with a newer version of Lucene than the CheckIndex tool.
public bool toolOutOfDate
Résultat bool

totLoseDocCount public_oe property

How many documents will be lost to bad segments.
public int totLoseDocCount
Résultat int

userData public_oe property

Holds the userData of the last commit in the index
public IDictionary userData
Résultat string>.IDictionary