Uses of Class
gate.creole.annic.apache.lucene.store.Directory

Packages that use Directory
gate.creole.annic.apache.lucene.index Code to maintain and access indices. 
gate.creole.annic.apache.lucene.search Search over indices. 
gate.creole.annic.apache.lucene.store Binary i/o API, used for all index data. 
gate.creole.annic.apache.lucene.util Some utility classes. 
gate.creole.annic.lucene   
 

Uses of Directory in gate.creole.annic.apache.lucene.index
 

Subclasses of Directory in gate.creole.annic.apache.lucene.index
(package private)  class CompoundFileReader
          Class for accessing a compound stream.
 

Fields in gate.creole.annic.apache.lucene.index declared as Directory
 Directory SegmentInfo.dir
           
private  Directory CompoundFileReader.directory
           
private  Directory CompoundFileWriter.directory
           
private  Directory DocumentWriter.directory
           
private  Directory IndexReader.directory
           
private  Directory IndexWriter.directory
           
private  Directory SegmentMerger.directory
           
private  Directory TermInfosReader.directory
           
private  Directory IndexWriter.ramDirectory
           
 

Methods in gate.creole.annic.apache.lucene.index that return Directory
 Directory IndexReader.directory()
          Returns the directory this index resides in.
 Directory CompoundFileReader.getDirectory()
           
 Directory CompoundFileWriter.getDirectory()
          Returns the directory of the compound file.
 

Methods in gate.creole.annic.apache.lucene.index with parameters of type Directory
 void IndexWriter.addIndexes(Directory[] dirs)
          Merges all segments from an array of indexes into this index.
private  void IndexWriter.deleteFiles(Vector files, Directory 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.
private  void TermInfosWriter.initialize(Directory directory, String segment, FieldInfos fis, boolean isi)
           
static boolean IndexReader.isLocked(Directory directory)
          Returns true iff the index in the named directory is currently locked.
static long IndexReader.lastModified(Directory directory)
          Deprecated. Replaced by IndexReader.getCurrentVersion(Directory)
static IndexReader IndexReader.open(Directory directory)
          Returns an IndexReader reading the index in the given Directory.
private static IndexReader IndexReader.open(Directory directory, boolean closeDirectory)
           
private  void SegmentReader.openNorms(Directory cfsDir)
           
 void SegmentInfos.read(Directory directory)
           
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)
           
 void FieldInfos.write(Directory d, String name)
           
 

Constructors in gate.creole.annic.apache.lucene.index with parameters of type Directory
CompoundFileReader(Directory dir, String name)
           
CompoundFileWriter(Directory dir, String name)
          Create the compound stream in the specified file.
DocumentWriter(Directory directory, Analyzer analyzer, Similarity similarity, int maxFieldLength)
           
FieldInfos(Directory d, String name)
          Construct a FieldInfos object using the directory and the name of the file InputStream
FieldsReader(Directory d, String segment, FieldInfos fn)
           
FieldsWriter(Directory d, String segment, FieldInfos fn)
           
IndexReader(Directory directory)
          Constructor used if IndexReader is not owner of its directory.
IndexReader(Directory directory, SegmentInfos segmentInfos, boolean closeDirectory)
          Constructor used if IndexReader is owner of its directory.
IndexWriter(Directory d, Analyzer a, boolean create)
          Constructs an IndexWriter for the index in d.
IndexWriter(Directory d, Analyzer a, boolean create, boolean closeDir)
           
MultiReader(Directory directory, SegmentInfos sis, boolean closeDirectory, IndexReader[] subReaders)
          Construct reading the named set of readers.
SegmentInfo(String name, int docCount, Directory dir)
           
SegmentMerger(Directory dir, String name, boolean compoundFile)
           
TermInfosReader(Directory dir, String seg, FieldInfos fis)
           
TermInfosWriter(Directory directory, String segment, FieldInfos fis)
           
TermInfosWriter(Directory directory, String segment, FieldInfos fis, boolean isIndex)
           
TermVectorsReader(Directory d, String segment, FieldInfos fieldInfos)
           
TermVectorsWriter(Directory directory, String segment, FieldInfos fieldInfos)
          Create term vectors writer for the specified segment in specified directory.
 

Uses of Directory in gate.creole.annic.apache.lucene.search
 

Constructors in gate.creole.annic.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 gate.creole.annic.apache.lucene.store
 

Subclasses of Directory in gate.creole.annic.apache.lucene.store
 class FSDirectory
          Straightforward implementation of Directory as a directory of files.
 class RAMDirectory
          A memory-resident Directory implementation.
 

Constructors in gate.creole.annic.apache.lucene.store with parameters of type Directory
RAMDirectory(Directory dir)
          Creates a new RAMDirectory instance from a different Directory implementation.
RAMDirectory(Directory dir, boolean closeDir)
           
 

Uses of Directory in gate.creole.annic.apache.lucene.util
 

Methods in gate.creole.annic.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 gate.creole.annic.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(gate.creole.annic.apache.lucene.store.Directory, java.lang.String) method.
 

Uses of Directory in gate.creole.annic.lucene
 

Constructors in gate.creole.annic.lucene with parameters of type Directory
LuceneIndexSearcher(Directory directory)
          Creates a searcher searching the index in the provided directory.