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.

Mostra file Open project: synhershko/lucene.net Class Usage Examples

Public Properties

Property 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
return bool

clean public_oe property

True if no problems were found with the index.
public bool clean
return bool

dir public_oe property

Directory index is in.
public Lucene.Net.Store.Directory dir
return 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
return bool

missingSegments public_oe property

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

numBadSegments public_oe property

How many bad segments were found.
public int numBadSegments
return int

numSegments public_oe property

Number of segments in the index.
public int numSegments
return 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
return bool

segmentFormat public_oe property

String description of the version of the index.
public String,System segmentFormat
return System.String

segmentInfos public_oe property

List of SegmentInfoStatus instances, detailing status of each segment.
public IList segmentInfos
return IList

segmentsChecked public_oe property

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

segmentsFileName public_oe property

Name of latest segments_N file in the index.
public String,System segmentsFileName
return 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
return bool

totLoseDocCount public_oe property

How many documents will be lost to bad segments.
public int totLoseDocCount
return int

userData public_oe property

Holds the userData of the last commit in the index
public IDictionary userData
return string>.IDictionary