|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Directory | |
|---|---|
| org.apache.lucene.benchmark.byTask |
Benchmarking Lucene By Tasks. |
| org.apache.lucene.benchmark.stats | |
| org.apache.lucene.gdata.search.index | Contains classes processing of documents and accessing the search index of the server |
| org.apache.lucene.gdata.storage.lucenestorage | Lucene storage implementation |
| org.apache.lucene.index | Code to maintain and access indices. |
| org.apache.lucene.misc | |
| org.apache.lucene.search | Table Of Contents |
| org.apache.lucene.search.spell | Suggest alternate spellings for words. |
| org.apache.lucene.store | Binary i/o API, used for all index data. |
| org.apache.lucene.util | Some utility classes. |
| Uses of Directory in org.apache.lucene.benchmark.byTask |
|---|
| Methods in org.apache.lucene.benchmark.byTask that return Directory | |
|---|---|
Directory |
PerfRunData.getDirectory()
|
| Methods in org.apache.lucene.benchmark.byTask with parameters of type Directory | |
|---|---|
void |
PerfRunData.setDirectory(Directory directory)
|
| Uses of Directory in org.apache.lucene.benchmark.stats |
|---|
| Methods in org.apache.lucene.benchmark.stats that return Directory | |
|---|---|
Directory |
TestData.getDirectory()
|
| Methods in org.apache.lucene.benchmark.stats with parameters of type Directory | |
|---|---|
void |
TestData.setDirectory(Directory directory)
|
| Uses of Directory in org.apache.lucene.gdata.search.index |
|---|
| Methods in org.apache.lucene.gdata.search.index with parameters of type Directory | |
|---|---|
static GDataIndexer |
GDataIndexer.createGdataIndexer(IndexSchema config,
Directory dir,
boolean create)
This factory method creates a new GDataIndexer using a instance of IndexTask |
static GDataIndexer |
GDataIndexer.createTimedGdataIndexer(IndexSchema config,
Directory dir,
boolean create,
long commitTimeout)
This factory method creates a new GDataIndexer using a instance of TimedIndexTask. |
| Constructors in org.apache.lucene.gdata.search.index with parameters of type Directory | |
|---|---|
GDataIndexer(IndexSchema schema,
Directory dir,
boolean create)
|
|
GDataIndexWriter(Directory arg0,
boolean arg1,
IndexSchema arg2)
Creates and configures a new GdataIndexWriter |
|
| Uses of Directory in org.apache.lucene.gdata.storage.lucenestorage |
|---|
| Methods in org.apache.lucene.gdata.storage.lucenestorage that return Directory | |
|---|---|
protected Directory |
StorageCoreController.getDirectory()
|
| Methods in org.apache.lucene.gdata.storage.lucenestorage with parameters of type Directory | |
|---|---|
void |
StorageCoreController.setStorageDir(Directory storageDir)
|
| Uses of Directory in org.apache.lucene.index |
|---|
| Fields in org.apache.lucene.index declared as Directory | |
|---|---|
protected Directory |
IndexModifier.directory
|
| Methods in org.apache.lucene.index that return Directory | |
|---|---|
Directory |
IndexReader.directory()
Returns the directory this index resides in. |
Directory |
IndexWriter.getDirectory()
Returns the Directory used by this index. |
| Methods in org.apache.lucene.index with parameters of type Directory | |
|---|---|
void |
IndexWriter.addIndexes(Directory[] dirs)
Merges all segments from an array of indexes into this index. |
void |
IndexWriter.addIndexesNoOptimize(Directory[] dirs)
Merges all segments from an array of indexes into this index. |
static String |
SegmentInfos.getCurrentSegmentFileName(Directory directory)
Get the filename of the current segments_N file in the directory. |
static long |
SegmentInfos.getCurrentSegmentGeneration(Directory directory)
Get the generation (N) of the current segments_N file in the directory. |
static long |
IndexReader.getCurrentVersion(Directory directory)
Reads version number from segments files. |
static boolean |
IndexReader.indexExists(Directory directory)
Returns true if an index exists at the specified directory. |
protected void |
IndexModifier.init(Directory directory,
Analyzer analyzer,
boolean create)
Initialize an IndexWriter. |
static boolean |
IndexReader.isLocked(Directory directory)
Returns true iff the index in the named directory is
currently locked. |
static long |
IndexReader.lastModified(Directory directory2)
Returns the time the index in the named directory was last modified. |
static IndexReader |
IndexReader.open(Directory directory)
Returns an IndexReader reading the index in the given Directory. |
void |
SegmentInfos.read(Directory directory)
This version of read uses the retry logic (for lock-less commits) to find the right segments file to load. |
void |
SegmentInfos.read(Directory directory,
String segmentFileName)
Read a particular segmentFileName. |
static long |
SegmentInfos.readCurrentVersion(Directory directory)
Current version number from segments file. |
static void |
IndexReader.unlock(Directory directory)
Forcibly unlocks the index in the named directory. |
void |
SegmentInfos.write(Directory directory)
|
| Constructors in org.apache.lucene.index with parameters of type Directory | |
|---|---|
FieldNormModifier(Directory d,
Similarity s)
Constructor for code that wishes to use this class programatically If Similarity is null, kill the field norms. |
|
IndexModifier(Directory directory,
Analyzer analyzer,
boolean create)
Open an index with write access. |
|
IndexReader(Directory directory)
Constructor used if IndexReader is not owner of its directory. |
|
IndexWriter(Directory d,
Analyzer a)
Constructs an IndexWriter for the index in d, creating it first if it does not
already exist, otherwise appending to the existing
index. |
|
IndexWriter(Directory d,
Analyzer a,
boolean create)
Constructs an IndexWriter for the index in d. |
|
SegmentInfos.FindSegmentsFile(Directory directory)
|
|
| Uses of Directory in org.apache.lucene.misc |
|---|
| Constructors in org.apache.lucene.misc with parameters of type Directory | |
|---|---|
LengthNormModifier(Directory d,
Similarity s)
Constructor for code that wishes to use this class progaomatically. |
|
| 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.search.spell |
|---|
| Methods in org.apache.lucene.search.spell with parameters of type Directory | |
|---|---|
void |
SpellChecker.setSpellIndex(Directory spellIndex)
|
| Constructors in org.apache.lucene.search.spell with parameters of type Directory | |
|---|---|
SpellChecker(Directory spellIndex)
|
|
| 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 |
MMapDirectory
File-based Directory implementation that uses mmap for input. |
class |
RAMDirectory
A memory-resident Directory implementation. |
| Methods in org.apache.lucene.store with parameters of type Directory | |
|---|---|
static void |
Directory.copy(Directory src,
Directory dest,
boolean closeDirSrc)
Copy contents of a directory src to a directory dest. |
| Constructors in org.apache.lucene.store with parameters of type Directory | |
|---|---|
RAMDirectory(Directory dir)
Creates a new RAMDirectory instance from a different
Directory implementation. |
|
| 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 | |||||||||