Create a NativeFSLockFactory instance, storing lock files into the specified lockDir:

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

Parameters

lockDir
Type: System.IO..::..FileInfo
where lock files are created.

See Also