Apache Lucene.Net 2.4.0 Class Library API

FSDirectory.GetDirectory Method (String, LockFactory)

Returns the directory instance for the named location.

public static FSDirectory GetDirectory(
   string path,
   LockFactory lockFactory
);

Parameters

path
the path to the directory.
lockFactory
instance of {@link LockFactory} providing the locking implementation.

Return Value

the FSDirectory for the named file.

See Also

FSDirectory Class | Lucene.Net.Store Namespace | FSDirectory.GetDirectory Overload List