Package | Description |
---|---|
org.apache.lucene.store |
Binary i/o API, used for all index data.
|
Modifier and Type | Class and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
static FSDirectory |
FSDirectory.getDirectory(java.io.File file)
Deprecated.
Use
open(File) |
static FSDirectory |
FSDirectory.getDirectory(java.io.File file,
boolean create)
Deprecated.
Use IndexWriter's create flag, instead, to
create a new index.
|
static FSDirectory |
FSDirectory.getDirectory(java.io.File file,
LockFactory lockFactory)
Deprecated.
|
static FSDirectory |
FSDirectory.getDirectory(java.lang.String path)
Deprecated.
Use
open(File) |
static FSDirectory |
FSDirectory.getDirectory(java.lang.String path,
boolean create)
Deprecated.
Use IndexWriter's create flag, instead, to
create a new index.
|
static FSDirectory |
FSDirectory.getDirectory(java.lang.String path,
LockFactory lockFactory)
Deprecated.
|
static FSDirectory |
FSDirectory.open(java.io.File path)
Creates an FSDirectory instance, trying to pick the
best implementation given the current environment.
|
static FSDirectory |
FSDirectory.open(java.io.File path,
LockFactory lockFactory)
Just like
open(File) , but allows you to
also specify a custom LockFactory . |
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.