Returns true if index is clean, else false.

Namespace: Lucene.Net.Index
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
[ObsoleteAttribute("Please instantiate a CheckIndex and then use CheckIndex() instead")]
public static bool Check(
	Directory dir,
	bool doFix
)
Visual Basic
<ObsoleteAttribute("Please instantiate a CheckIndex and then use CheckIndex() instead")> _
Public Shared Function Check ( _
	dir As Directory, _
	doFix As Boolean _
) As Boolean
Visual C++
[ObsoleteAttribute(L"Please instantiate a CheckIndex and then use CheckIndex() instead")]
public:
static bool Check(
	Directory^ dir, 
	bool doFix
)

Parameters

dir
Type: Lucene.Net.Store..::..Directory

[Missing <param name="dir"/> documentation for "M:Lucene.Net.Index.CheckIndex.Check(Lucene.Net.Store.Directory,System.Boolean)"]

doFix
Type: System..::..Boolean

[Missing <param name="doFix"/> documentation for "M:Lucene.Net.Index.CheckIndex.Check(Lucene.Net.Store.Directory,System.Boolean)"]

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Index.CheckIndex.Check(Lucene.Net.Store.Directory,System.Boolean)"]

See Also