Apache Lucene.Net 2.4.0 Class Library API

FSDirectory Class

Straightforward implementation of {@link Directory} as a directory of files. Locking implementation is by default the {@link SimpleFSLockFactory}, but can be changed either by passing in a {@link LockFactory} instance to
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.

For a list of all members of this type, see FSDirectory Members.

System.Object
   Lucene.Net.Store.Directory
      Lucene.Net.Store.FSDirectory
         Lucene.Net.Store.MMapDirectory
         NIOFSDirectory

public class FSDirectory : Directory

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Requirements

Namespace: Lucene.Net.Store

Assembly: Lucene.Net (in Lucene.Net.dll)

See Also

FSDirectory Members | Lucene.Net.Store Namespace |