C# Класс 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.

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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

Описание свойств

cantOpenSegments публичное свойство

True if we were unable to open the segments_N file.
public bool cantOpenSegments
Результат bool

clean публичное свойство

True if no problems were found with the index.
public bool clean
Результат bool

dir публичное свойство

Directory index is in.
public Lucene.Net.Store.Directory dir
Результат Lucene.Net.Store.Directory

missingSegmentVersion публичное свойство

True if we were unable to read the version number from segments_N file.
public bool missingSegmentVersion
Результат bool

missingSegments публичное свойство

True if we were unable to locate and load the segments_N file.
public bool missingSegments
Результат bool

numBadSegments публичное свойство

How many bad segments were found.
public int numBadSegments
Результат int

numSegments публичное свойство

Number of segments in the index.
public int numSegments
Результат int

partial публичное свойство

True if we checked only specific segments (CheckIndex_Renamed_Method(System.Collections.IList)) was called with non-null argument).
public bool partial
Результат bool

segmentFormat публичное свойство

String description of the version of the index.
public String,System segmentFormat
Результат System.String

segmentInfos публичное свойство

List of SegmentInfoStatus instances, detailing status of each segment.
public IList segmentInfos
Результат IList

segmentsChecked публичное свойство

Empty unless you passed specific segments list to check as optional 3rd argument.
public List segmentsChecked
Результат List

segmentsFileName публичное свойство

Name of latest segments_N file in the index.
public String,System segmentsFileName
Результат System.String

toolOutOfDate публичное свойство

True if the index was created with a newer version of Lucene than the CheckIndex tool.
public bool toolOutOfDate
Результат bool

totLoseDocCount публичное свойство

How many documents will be lost to bad segments.
public int totLoseDocCount
Результат int

userData публичное свойство

Holds the userData of the last commit in the index
public IDictionary userData
Результат string>.IDictionary