Lucene.Net

FSDirectory Class

Base class for Directory implementations that store index files in the file system. There are currently three core subclasses: Unfortunately, because of system peculiarities, there is no single overall best implementation. Therefore, we've added the Open method, to allow Lucene to choose the best FSDirectory implementation given your environment, and the known limitations of each implementation. For users who have no reason to prefer a specific implementation, it's best to simply use Open . For all others, you should instantiate the desired implementation directly.

The locking implementation is by default NativeFSLockFactory , but can be changed by passing in a custom LockFactory instance.

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

System.Object
   Directory
      FSDirectory
         MMapDirectory
         NIOFSDirectory
         SimpleFSDirectory

public abstract 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