Returns a read/write IndexReader reading the index in
the given Directory.
Namespace: Lucene.Net.IndexAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
[ObsoleteAttribute("Use Open(Directory, bool) instead. This method will be removed in the 3.0 release.")] public static IndexReader Open( Directory directory ) |
Visual Basic |
---|
<ObsoleteAttribute("Use Open(Directory, bool) instead. This method will be removed in the 3.0 release.")> _ Public Shared Function Open ( _ directory As Directory _ ) As IndexReader |
Visual C++ |
---|
[ObsoleteAttribute(L"Use Open(Directory, bool) instead. This method will be removed in the 3.0 release.")] public: static IndexReader^ Open( Directory^ directory ) |
Parameters
- directory
- Type: Lucene.Net.Store..::..Directory
the index directory
Return Value
[Missing <returns> documentation for "M:Lucene.Net.Index.IndexReader.Open(Lucene.Net.Store.Directory)"]