Create a new SimpleFSDirectory for the named location and the default lock factory.

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

Syntax

C#
public SimpleFSDirectory(
	DirectoryInfo path
)
Visual Basic
Public Sub New ( _
	path As DirectoryInfo _
)
Visual C++
public:
SimpleFSDirectory(
	DirectoryInfo^ path
)

Parameters

path
Type: System.IO..::..DirectoryInfo
the path of the directory

See Also