|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use FSDirectory | |
|---|---|
| org.apache.lucene.store | Binary i/o API, used for all index data. |
| Uses of FSDirectory in org.apache.lucene.store |
|---|
| Subclasses of FSDirectory in org.apache.lucene.store | |
|---|---|
class |
MMapDirectory
File-based Directory implementation that uses
mmap for reading, and SimpleFSDirectory.SimpleFSIndexOutput for writing. |
class |
NIOFSDirectory
An FSDirectory implementation that uses
java.nio's FileChannel's positional read, which allows
multiple threads to read from the same file without
synchronizing. |
class |
SimpleFSDirectory
A straightforward implementation of FSDirectory
using java.io.RandomAccessFile. |
| Methods in org.apache.lucene.store that return FSDirectory | |
|---|---|
static FSDirectory |
FSDirectory.open(File path)
Creates an FSDirectory instance, trying to pick the best implementation given the current environment. |
static FSDirectory |
FSDirectory.open(File path,
LockFactory lockFactory)
Just like open(File), but allows you to
also specify a custom LockFactory. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||