Creates a searcher searching the index in the named directory.

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

Syntax

C#
[ObsoleteAttribute("Use IndexSearcher(Directory, bool) instead")]
public IndexSearcher(
	string path
)
Visual Basic
<ObsoleteAttribute("Use IndexSearcher(Directory, bool) instead")> _
Public Sub New ( _
	path As String _
)
Visual C++
[ObsoleteAttribute(L"Use IndexSearcher(Directory, bool) instead")]
public:
IndexSearcher(
	String^ path
)

Parameters

path
Type: System..::..String

[Missing <param name="path"/> documentation for "M:Lucene.Net.Search.IndexSearcher.#ctor(System.String)"]

See Also