Uses of Class
org.apache.lucene.store.FSDirectory
Packages that use FSDirectory
Package
Description
Code to maintain and access indices.
Binary i/o API, used for all index data.
Some utility classes.
-
Uses of FSDirectory in org.apache.lucene.index
Fields in org.apache.lucene.index declared as FSDirectory -
Uses of FSDirectory in org.apache.lucene.store
Subclasses of FSDirectory in org.apache.lucene.storeModifier and TypeClassDescriptionclassFile-basedDirectoryimplementation that uses mmap for reading, andFSDirectory.FSIndexOutputfor writing.classADirectoryimplementation for all Unixes that uses DIRECT I/O to bypass OS level IO caching during merging.classAnFSDirectoryimplementation that uses java.nio's FileChannel's positional read, which allows multiple threads to read from the same file without synchronizing.classA straightforward implementation ofFSDirectoryusing java.io.RandomAccessFile.classDeprecated.classNativeDirectoryimplementation for Microsoft Windows.Methods in org.apache.lucene.store that return FSDirectoryModifier and TypeMethodDescriptionstatic FSDirectoryCreates an FSDirectory instance, trying to pick the best implementation given the current environment.static FSDirectoryFSDirectory.open(Path path, LockFactory lockFactory) Just likeopen(Path), but allows you to also specify a customLockFactory.Methods in org.apache.lucene.store with parameters of type FSDirectoryModifier and TypeMethodDescriptionprotected abstract LockFSLockFactory.obtainFSLock(FSDirectory dir, String lockName) Implement this method to obtain a lock for a FSDirectory instance.protected LockNativeFSLockFactory.obtainFSLock(FSDirectory dir, String lockName) protected LockSimpleFSLockFactory.obtainFSLock(FSDirectory dir, String lockName) Constructors in org.apache.lucene.store with parameters of type FSDirectoryModifierConstructorDescriptionprivateRAMDirectory(FSDirectory dir, boolean closeDir, IOContext context) Deprecated.RAMDirectory(FSDirectory dir, IOContext context) Deprecated.Creates a newRAMDirectoryinstance from a differentDirectoryimplementation. -
Uses of FSDirectory in org.apache.lucene.util
Methods in org.apache.lucene.util that return FSDirectoryModifier and TypeMethodDescriptionstatic FSDirectoryCommandLineUtil.newFSDirectory(Class<? extends FSDirectory> clazz, Path path) Creates a new specific FSDirectory instancestatic FSDirectoryCommandLineUtil.newFSDirectory(Class<? extends FSDirectory> clazz, Path path, LockFactory lf) Creates a new specific FSDirectory instancestatic FSDirectoryCommandLineUtil.newFSDirectory(String clazzName, Path path) Creates a specific FSDirectory instance starting from its class name, using the default lock factorystatic FSDirectoryCommandLineUtil.newFSDirectory(String clazzName, Path path, LockFactory lf) Creates a specific FSDirectory instance starting from its class nameMethods in org.apache.lucene.util that return types with arguments of type FSDirectoryModifier and TypeMethodDescriptionstatic Class<? extends FSDirectory> CommandLineUtil.loadFSDirectoryClass(String clazzName) Loads a specific FSDirectory implementationMethod parameters in org.apache.lucene.util with type arguments of type FSDirectoryModifier and TypeMethodDescriptionstatic FSDirectoryCommandLineUtil.newFSDirectory(Class<? extends FSDirectory> clazz, Path path) Creates a new specific FSDirectory instancestatic FSDirectoryCommandLineUtil.newFSDirectory(Class<? extends FSDirectory> clazz, Path path, LockFactory lf) Creates a new specific FSDirectory instance
NIOFSDirectory, and will be removed in future versions of Lucene.