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(List) instead")]
public static bool Check(
	Directory dir,
	bool doFix,
	IList onlySegments
)
Visual Basic
<ObsoleteAttribute("Please instantiate a CheckIndex and then use CheckIndex(List) instead")> _
Public Shared Function Check ( _
	dir As Directory, _
	doFix As Boolean, _
	onlySegments As IList _
) As Boolean
Visual C++
[ObsoleteAttribute(L"Please instantiate a CheckIndex and then use CheckIndex(List) instead")]
public:
static bool Check(
	Directory^ dir, 
	bool doFix, 
	IList^ onlySegments
)

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,System.Collections.IList)"]

doFix
Type: System..::..Boolean

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

onlySegments
Type: System.Collections..::..IList

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

Return Value

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

See Also