Method CheckIndex
CheckIndex(Directory)
this runs the CheckIndex tool on the index in. If any
issues are hit, a RuntimeException is thrown; else,
true is returned.
Declaration
public static CheckIndex.Status CheckIndex(Directory dir)
Parameters
Returns
Type |
Description |
CheckIndex.Status |
|
CheckIndex(Directory, Boolean)
Declaration
public static CheckIndex.Status CheckIndex(Directory dir, bool crossCheckTermVectors)
Parameters
Type |
Name |
Description |
Directory |
dir |
|
System.Boolean |
crossCheckTermVectors |
|
Returns
Type |
Description |
CheckIndex.Status |
|