Uses of Class org.apache.lucene.store.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
File-based Directory implementation that uses mmap for input.
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.

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

void
Directory.copy(Directory src, Directory dest, boolean closeDirSrc)
Copy contents of a directory src to a directory dest.

Uses in package org.apache.lucene.search.spell

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

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

void

Uses in package org.apache.lucene.index

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

Constructor for code that wishes to use this class programatically If Similarity is null, kill the field norms.
IndexModifier.IndexModifier(Directory directory, Analyzer analyzer, boolean create)
Open an index with write access.
Constructor used if IndexReader is not owner of its directory.
Constructs an IndexWriter for the index in d, creating it first if it does not already exist, otherwise appending to the existing index.
IndexWriter.IndexWriter(Directory d, Analyzer a, boolean create)
Constructs an IndexWriter for the index in d.

Fields of type org.apache.lucene.store.Directory

Directory

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

void
Merges all segments from an array of indexes into this index.
void
Merges all segments from an array of indexes into this index.
String
Get the filename of the current segments_N file in the directory.
long
Get the generation (N) of the current segments_N file in the directory.
long
Reads version number from segments files.
boolean
Returns true if an index exists at the specified directory.
void
IndexModifier.init(Directory directory, Analyzer analyzer, boolean create)
Initialize an IndexWriter.
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
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.
long
Current version number from segments file.
void
Forcibly unlocks the index in the named directory.
void

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

Directory
Returns the directory this index resides in.
Directory
Returns the Directory used by this index.

Uses in package org.apache.lucene.misc

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

Constructor for code that wishes to use this class progaomatically.

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.benchmark.byTask

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

void

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

Directory

Uses in package org.apache.lucene.benchmark.stats

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

void

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

Directory

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.

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