Method DoCheckIndex
DoCheckIndex()
Returns a CheckIndex.Status instance detailing the state of the index.
As this method checks every byte in the index, on a large index it can take quite a long time to run.
WARNING: make sure you only call this when the index is not opened by any writer.
Declaration
public virtual CheckIndex.Status DoCheckIndex()
Returns
Type | Description |
---|---|
CheckIndex.Status |
DoCheckIndex(IList<String>)
Returns a CheckIndex.Status instance detailing the state of the index.
Declaration
public virtual CheckIndex.Status DoCheckIndex(IList<string> onlySegments)
Parameters
Type | Name | Description |
---|---|---|
IList<System.String> | onlySegments | list of specific segment names to check As this method checks every byte in the specified segments, on a large index it can take quite a long time to run. WARNING: make sure you only call this when the index is not opened by any writer. |
Returns
Type | Description |
---|---|
CheckIndex.Status |