|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Directory | |
org.apache.lucene.index | Code to maintain and access indices. |
org.apache.lucene.search | Search over indices. |
org.apache.lucene.store | Binary i/o API, for storing index data. |
org.apache.lucene.util | Some utility classes. |
Uses of Directory in org.apache.lucene.index |
Methods in org.apache.lucene.index with parameters of type Directory | |
static IndexReader |
IndexReader.open(Directory directory)
Returns an IndexReader reading the index in the given Directory. |
static long |
IndexReader.lastModified(Directory directory)
Returns the time the index in this directory was last modified. |
static boolean |
IndexReader.indexExists(Directory directory)
Returns true if an index exists at the specified directory. |
static boolean |
IndexReader.isLocked(Directory directory)
Returns true iff the index in the named directory is
currently locked. |
static void |
IndexReader.unlock(Directory directory)
Forcibly unlocks the index in the named directory. |
void |
IndexWriter.addIndexes(Directory[] dirs)
Merges all segments from an array of indexes into this index. |
Constructors in org.apache.lucene.index with parameters of type Directory | |
IndexReader(Directory directory)
|
|
IndexWriter(Directory d,
Analyzer a,
boolean create)
Constructs an IndexWriter for the index in d . |
Uses of Directory in org.apache.lucene.search |
Constructors in org.apache.lucene.search with parameters of type Directory | |
IndexSearcher(Directory directory)
Creates a searcher searching the index in the provided directory. |
Uses of Directory in org.apache.lucene.store |
Subclasses of Directory in org.apache.lucene.store | |
class |
FSDirectory
Straightforward implementation of Directory as a directory of files. |
class |
RAMDirectory
|
Uses of Directory in org.apache.lucene.util |
Methods in org.apache.lucene.util with parameters of type Directory | |
void |
BitVector.write(Directory d,
String name)
Writes this vector to the file name in Directory
d , in a format that can be read by the constructor BitVector.BitVector(Directory, String) . |
Constructors in org.apache.lucene.util with parameters of type Directory | |
BitVector(Directory d,
String name)
Constructs a bit vector from the file name in Directory
d , as written by the BitVector.write(org.apache.lucene.store.Directory, java.lang.String) method. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |