Create a NativeFSLockFactory instance, with null (unset) lock directory. When you pass this factory to a {@link FSDirectory} subclass, the lock directory is automatically set to the directory itsself. Be sure to create one instance for each directory your create!

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

Syntax

C#
public NativeFSLockFactory()
Visual Basic
Public Sub New
Visual C++
public:
NativeFSLockFactory()

See Also