getDirectory
, or specifying the LockFactory class by setting
/// Lucene.Net.Store.FSDirectoryLockFactoryClass
Java system
/// property, or by calling {@link #setLockFactory} after creating
/// the Directory.
/// Directories are cached, so that, for a given canonical
/// path, the same FSDirectory instance will always be
/// returned by getDirectory
. This permits
/// synchronization on directories.
Lucene.Net.lockDir
/// or java.io.tmpdir
system property.
/// LOCK_DIR
is unused
/// because the write.lock is now stored by default in the
/// index directory. If you really want to store locks
/// elsewhere you can create your own {@link
/// SimpleFSLockFactory} (or {@link NativeFSLockFactory},
/// etc.) passing in your preferred lock directory. Then,
/// pass this LockFactory
instance to one of
/// the getDirectory
methods that take a
/// lockFactory
(for example, {@link #GetDirectory(String, LockFactory)}).
///