Creates a searcher searching the index in the provided directory.
Namespace: Lucene.Net.SearchAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
[ObsoleteAttribute("Use IndexSearcher(Directory, bool) instead")] public IndexSearcher( Directory directory ) |
Visual Basic |
---|
<ObsoleteAttribute("Use IndexSearcher(Directory, bool) instead")> _ Public Sub New ( _ directory As Directory _ ) |
Visual C++ |
---|
[ObsoleteAttribute(L"Use IndexSearcher(Directory, bool) instead")] public: IndexSearcher( Directory^ directory ) |
Parameters
- directory
- Type: Lucene.Net.Store..::..Directory
[Missing <param name="directory"/> documentation for "M:Lucene.Net.Search.IndexSearcher.#ctor(Lucene.Net.Store.Directory)"]