Uses of Class org.apache.lucene.store.Directory

Uses in package org.apache.lucene.util

Constructors with parameter type org.apache.lucene.store.Directory

BitVector.BitVector(Directory d, String name)
Constructs a bit vector from the file name in Directory d, as written by the write(Directory,String) method.

Methods with parameter type org.apache.lucene.store.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(Directory,String).

Uses in package org.apache.lucene.index

Constructors with parameter type org.apache.lucene.store.Directory

Constructor used if IndexReader is not owner of its directory.
IndexWriter.IndexWriter(Directory d, Analyzer a, boolean create)
Constructs an IndexWriter for the index in d.

Methods with parameter type org.apache.lucene.store.Directory

void
Merges all segments from an array of indexes into this index.
long
Reads version number from segments files.
boolean
Returns true if an index exists at the specified directory.
boolean
Returns true iff the index in the named directory is currently locked.
long
Returns the time the index in the named directory was last modified.
IndexReader
Returns an IndexReader reading the index in the given Directory.
void
Forcibly unlocks the index in the named directory.

Methods with return type org.apache.lucene.store.Directory

Directory
Returns the directory this index resides in.

Uses in package org.apache.lucene.search

Constructors with parameter type org.apache.lucene.store.Directory

Creates a searcher searching the index in the provided directory.

Uses in package org.apache.lucene.store

Classes derived from org.apache.lucene.store.Directory

class
Straightforward implementation of Directory as a directory of files.
class
A memory-resident Directory implementation.

Constructors with parameter type org.apache.lucene.store.Directory

Creates a new RAMDirectory instance from a different Directory implementation.

Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.