Create a new MMapDirectory for the named location.
Namespace: Lucene.Net.StoreAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public MMapDirectory( DirectoryInfo path, LockFactory lockFactory ) |
Visual Basic |
---|
Public Sub New ( _ path As DirectoryInfo, _ lockFactory As LockFactory _ ) |
Visual C++ |
---|
public: MMapDirectory( DirectoryInfo^ path, LockFactory^ lockFactory ) |
Parameters
- path
- Type: System.IO..::..DirectoryInfo
the path of the directory
- lockFactory
- Type: Lucene.Net.Store..::..LockFactory
the lock factory to use, or null for the default.