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#
[ObsoleteAttribute("Use the constructor that takes a DirectoryInfo, this will be removed in the 3.0 release")]
public SimpleFSDirectory(
	FileInfo path
)
Visual Basic
<ObsoleteAttribute("Use the constructor that takes a DirectoryInfo, this will be removed in the 3.0 release")> _
Public Sub New ( _
	path As FileInfo _
)
Visual C++
[ObsoleteAttribute(L"Use the constructor that takes a DirectoryInfo, this will be removed in the 3.0 release")]
public:
SimpleFSDirectory(
	FileInfo^ path
)

Parameters

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

See Also