Package org.apache.lucene.index

Code to maintain and access indices.

See:
          Description

Interface Summary
IndexCommitPoint Expert: represents a single commit into an index as seen by the IndexDeletionPolicy.
IndexDeletionPolicy Expert: policy for deletion of stale index commits.
TermDocs TermDocs provides an interface for enumerating <document, frequency> pairs for a term.
TermFreqVector Provides access to stored term vector of a document field.
TermPositions TermPositions provides an interface for enumerating the <document, frequency, <position>* > tuples for a term.
TermPositionVector Extends TermFreqVector to provide additional information about positions in which each of the terms is found.
 

Class Summary
FieldNormModifier Given a directory and a list of fields, updates the fieldNorms in place for every document.
FilterIndexReader A FilterIndexReader contains another IndexReader, which it uses as its basic source of data, possibly transforming the data along the way or providing additional functionality.
FilterIndexReader.FilterTermDocs Base class for filtering TermDocs implementations.
FilterIndexReader.FilterTermEnum Base class for filtering TermEnum implementations.
FilterIndexReader.FilterTermPositions Base class for filtering TermPositions implementations.
IndexFileNameFilter Filename filter that accept filenames and extensions only created by Lucene.
IndexModifier [Note that as of 2.1, all but one of the methods in this class are available via IndexWriter.
IndexReader IndexReader is an abstract class, providing an interface for accessing an index.
IndexReader.FieldOption  
IndexWriter An IndexWriter creates and maintains an index.
KeepOnlyLastCommitDeletionPolicy This IndexDeletionPolicy implementation that keeps only the most recent commit and immediately removes all prior commits after a new commit is done.
MultipleTermPositions Describe class MultipleTermPositions here.
MultiReader An IndexReader which reads multiple indexes, appending their content.
ParallelReader An IndexReader which reads multiple, parallel indexes.
Payload A Payload is metadata that can be stored together with each occurrence of a term.
Term A Term represents a word from text.
TermEnum Abstract class for enumerating terms.
TermVectorOffsetInfo The TermVectorOffsetInfo class holds information pertaining to a Term in a TermPositionVector's offset information.
 

Exception Summary
CorruptIndexException This exception is thrown when Lucene detects an inconsistency in the index.
FieldReaderException  
StaleReaderException This exception is thrown when an IndexReader tries to make changes to the index (via IndexReader.deleteDocument(int), IndexReader.undeleteAll() or IndexReader.setNorm(int, java.lang.String, byte)) but changes have already been committed to the index since this reader was instantiated.
 

Package org.apache.lucene.index Description

Code to maintain and access indices.



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