Uses of Class
org.apache.lucene.store.FSDirectory
Packages that use FSDirectory
Package
Description
Binary i/o API, used for all index data.
Some utility classes.
-
Uses of FSDirectory in org.apache.lucene.store
Subclasses of FSDirectory in org.apache.lucene.storeModifier and TypeClassDescriptionclass
File-basedDirectory
implementation that uses mmap for reading, andFSDirectory.FSIndexOutput
for writing.class
AnFSDirectory
implementation that uses java.nio's FileChannel's positional read, which allows multiple threads to read from the same file without synchronizing.class
A straightforward implementation ofFSDirectory
using java.io.RandomAccessFile.Methods in org.apache.lucene.store that return FSDirectoryModifier and TypeMethodDescriptionstatic FSDirectory
Creates an FSDirectory instance, trying to pick the best implementation given the current environment.static FSDirectory
FSDirectory.open
(File path, LockFactory lockFactory) Just likeopen(File)
, but allows you to also specify a customLockFactory
.Constructors in org.apache.lucene.store with parameters of type FSDirectory -
Uses of FSDirectory in org.apache.lucene.util
Methods in org.apache.lucene.util that return FSDirectoryModifier and TypeMethodDescriptionstatic FSDirectory
CommandLineUtil.newFSDirectory
(Class<? extends FSDirectory> clazz, File file) Creates a new specific FSDirectory instancestatic FSDirectory
CommandLineUtil.newFSDirectory
(String clazzName, File file) 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 FSDirectory
CommandLineUtil.newFSDirectory
(Class<? extends FSDirectory> clazz, File file) Creates a new specific FSDirectory instance