Create a new FSDirectory for the named location (ctor for subclasses).

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

Syntax

C#
protected internal FSDirectory(
	DirectoryInfo path,
	LockFactory lockFactory
)
Visual Basic
Protected Friend Sub New ( _
	path As DirectoryInfo, _
	lockFactory As LockFactory _
)
Visual C++
protected public:
FSDirectory(
	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 ({@link NativeFSLockFactory});

See Also