-
Interface Summary Interface Description IndexCommitPoint IndexDeletionPolicy Expert: policy for deletion of staleindex 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 ExtendsTermFreqVectorto provide additional information about positions in which each of the terms is found. -
Class Summary Class Description CheckIndex Basic tool to check the health of an index and write a new segments file that removes reference to problematic segments.ConcurrentMergeScheduler AMergeSchedulerthat runs each merge using a separate thread, up until a maximum number of threads (ConcurrentMergeScheduler.setMaxThreadCount(int)) at which points merges are run in the foreground, serially.FieldSortedTermVectorMapper For each Field, store a sorted collection ofTermVectorEntrys This is not thread-safe.FilterIndexReader AFilterIndexReadercontains 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 filteringTermDocsimplementations.FilterIndexReader.FilterTermEnum Base class for filteringTermEnumimplementations.FilterIndexReader.FilterTermPositions Base class for filteringTermPositionsimplementations.IndexFileNameFilter Filename filter that accept filenames and extensions only created by Lucene.IndexModifier Deprecated Please useIndexWriterinstead.IndexReader IndexReader is an abstract class, providing an interface for accessing an index.IndexReader.FieldOption Constants describing field properties, for example used forIndexReader.getFieldNames(FieldOption).IndexWriter AnIndexWritercreates and maintains an index.KeepOnlyLastCommitDeletionPolicy ThisIndexDeletionPolicyimplementation that keeps only the most recent commit and immediately removes all prior commits after a new commit is done.LogByteSizeMergePolicy This is aLogMergePolicythat measures size of a segment as the total byte size of the segment's files.LogDocMergePolicy This is aLogMergePolicythat measures size of a segment as the number of documents (not taking deletions into account).LogMergePolicy This class implements aMergePolicythat tries to merge segments into levels of exponentially increasing size, where each level has < mergeFactor segments in it.MergePolicy Expert: a MergePolicy determines the sequence of primitive merge operations to be used for overall merge and optimize operations.MergePolicy.MergeSpecification A MergeSpecification instance provides the information necessary to perform multiple merges.MergePolicy.OneMerge OneMerge provides the information necessary to perform an individual primitive merge operation, resulting in a single new segment.MergeScheduler Expert:IndexWriteruses an instance implementing this interface to execute the merges selected by aMergePolicy.MultipleTermPositions Describe classMultipleTermPositionshere.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.PositionBasedTermVectorMapper For each Field, store position by position information.PositionBasedTermVectorMapper.TVPositionInfo Container for a term at a positionSerialMergeScheduler AMergeSchedulerthat simply does each merge sequentially, using the current thread.SnapshotDeletionPolicy AIndexDeletionPolicythat wraps around any otherIndexDeletionPolicyand adds the ability to hold and later release a single "snapshot" of an index.SortedTermVectorMapper Store a sorted collection ofTermVectorEntrys.Term A Term represents a word from text.TermEnum Abstract class for enumerating terms.TermVectorEntry Convenience class for holding TermVector information.TermVectorEntryFreqSortedComparator ComparesTermVectorEntrys first by frequency and then by the term (case-sensitive)TermVectorMapper The TermVectorMapper can be used to map Term Vectors into your own structure instead of the parallel array structure used byIndexReader.getTermFreqVector(int,String).TermVectorOffsetInfo The TermVectorOffsetInfo class holds information pertaining to a Term in aTermPositionVector's offset information. -
Exception Summary Exception Description CorruptIndexException This exception is thrown when Lucene detects an inconsistency in the index.FieldReaderException MergePolicy.MergeAbortedException MergePolicy.MergeException Exception thrown if there are any problems while executing a merge.StaleReaderException This exception is thrown when anIndexReadertries to make changes to the index (viaIndexReader.deleteDocument(int),IndexReader.undeleteAll()orIndexReader.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.
DataMelt 3.0 © DataMelt by jWork.ORG