| Interface | Description |
|---|---|
| IndexableField |
Represents a single field for indexing.
|
| IndexableFieldType |
Describes the properties of a field.
|
| IndexDeletionPolicy |
Expert: policy for deletion of stale
index commits. |
| IndexReader.ReaderClosedListener |
A custom listener that's invoked when the IndexReader
is closed.
|
| SegmentReader.CoreClosedListener |
Called when the shared core for this SegmentReader
is closed.
|
| SortedBytesMergeUtils.BytesRefConsumer | |
| TwoPhaseCommit |
An interface for implementations that support 2-phase commit.
|
| Class | Description |
|---|---|
| AtomicReader |
AtomicReader is an abstract class, providing an interface for accessing an
index. |
| AtomicReaderContext |
IndexReaderContext for AtomicReader instances |
| BaseCompositeReader<R extends IndexReader> |
Base class for implementing
CompositeReaders based on an array
of sub-readers. |
| CheckIndex |
Basic tool and API to check the health of an index and
write a new segments file that removes reference to
problematic segments.
|
| CheckIndex.Status |
Returned from
CheckIndex.checkIndex() detailing the health and status of the index. |
| CheckIndex.Status.DocValuesStatus |
Status from testing DocValues
|
| CheckIndex.Status.FieldNormStatus |
Status from testing field norms.
|
| CheckIndex.Status.SegmentInfoStatus |
Holds the status of each segment in the index.
|
| CheckIndex.Status.StoredFieldStatus |
Status from testing stored fields.
|
| CheckIndex.Status.TermIndexStatus |
Status from testing term index.
|
| CheckIndex.Status.TermVectorStatus |
Status from testing stored fields.
|
| CompositeReader |
Instances of this reader type can only
be used to get stored fields from the underlying AtomicReaders,
but it is not possible to directly retrieve postings.
|
| CompositeReaderContext |
IndexReaderContext for CompositeReader instance. |
| ConcurrentMergeScheduler |
A
MergeScheduler that runs each merge using a
separate thread. |
| DirectoryReader |
DirectoryReader is an implementation of
CompositeReader
that can read indexes in a Directory. |
| DocsAndPositionsEnum |
Also iterates through positions.
|
| DocsEnum |
Iterates through the documents and term freqs.
|
| DocTermOrds |
This class enables fast access to multiple term ords for
a specified field across all docIDs.
|
| DocValues |
DocValues provides a dense per-document typed storage for fast
value access based on the lucene internal document id. |
| DocValues.SortedSource |
A sorted variant of
DocValues.Source for byte[] values per document. |
| DocValues.Source |
Source of per document values like long, double or
BytesRef
depending on the DocValues fields DocValues.Type. |
| DocValues.SourceCache |
Abstract base class for
DocValues DocValues.Source cache. |
| DocValues.SourceCache.DirectSourceCache |
Simple per
DocValues instance cache implementation that holds a
DocValues.Source a member variable. |
| FieldInfo |
Access to the Fieldable Info file that describes document fields and whether or
not they are indexed.
|
| FieldInfos |
Collection of
FieldInfos (accessible by number or by name). |
| FieldInvertState |
This class tracks the number and position / offset parameters of terms
being added to the index.
|
| Fields |
Flex API for access to fields and terms
|
| FieldsEnum |
Enumerates indexed fields.
|
| FilterAtomicReader |
A
FilterAtomicReader contains another AtomicReader, which it
uses as its basic source of data, possibly transforming the data along the
way or providing additional functionality. |
| FilterAtomicReader.FilterDocsAndPositionsEnum |
Base class for filtering
DocsAndPositionsEnum implementations. |
| FilterAtomicReader.FilterDocsEnum |
Base class for filtering
DocsEnum implementations. |
| FilterAtomicReader.FilterFields |
Base class for filtering
Fields
implementations. |
| FilterAtomicReader.FilterFieldsEnum |
Base class for filtering
TermsEnum implementations. |
| FilterAtomicReader.FilterTerms |
Base class for filtering
Terms
implementations. |
| FilterAtomicReader.FilterTermsEnum |
Base class for filtering
TermsEnum implementations. |
| FilteredTermsEnum |
Abstract class for enumerating a subset of all terms.
|
| IndexCommit |
Expert: represents a single commit into an index as seen by the
IndexDeletionPolicy or IndexReader. |
| IndexFileNames |
This class contains useful constants representing filenames and extensions
used by lucene, as well as convenience methods for querying whether a file
name matches an extension (
matchesExtension), as well as generating file names from a segment name,
generation and extension (
fileNameFromGeneration,
segmentFileName). |
| IndexReader |
IndexReader is an abstract class, providing an interface for accessing an
index.
|
| IndexReaderContext |
A struct like class that represents a hierarchical relationship between
IndexReader instances. |
| IndexUpgrader |
This is an easy-to-use tool that upgrades all segments of an index from previous Lucene versions
to the current segment file format.
|
| IndexWriter |
An
IndexWriter creates and maintains an index. |
| IndexWriter.IndexReaderWarmer |
If
DirectoryReader.open(IndexWriter,boolean) has
been called (ie, this writer is in near real-time
mode), then after a merge completes, this class can be
invoked to warm the reader on the newly merged
segment, before the merge commits. |
| IndexWriterConfig |
Holds all the configuration that is used to create an
IndexWriter. |
| KeepOnlyLastCommitDeletionPolicy |
This
IndexDeletionPolicy implementation that
keeps only the most recent commit and immediately removes
all prior commits after a new commit is done. |
| LiveIndexWriterConfig |
Holds all the configuration used by
IndexWriter with few setters for
settings that can be changed on an IndexWriter instance "live". |
| LogByteSizeMergePolicy |
This is a
LogMergePolicy that measures size of a
segment as the total byte size of the segment's files. |
| LogDocMergePolicy |
This is a
LogMergePolicy that measures size of a
segment as the number of documents (not taking deletions
into account). |
| LogMergePolicy |
This class implements a
MergePolicy that tries
to merge segments into levels of exponentially
increasing size, where each level has fewer segments than
the value of the merge factor. |
| MergePolicy |
Expert: a MergePolicy determines the sequence of
primitive merge 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:
IndexWriter uses an instance
implementing this interface to execute the merges
selected by a MergePolicy. |
| MergeState |
Holds common state used during segment merging
|
| MergeState.CheckAbort | |
| MergeState.DocMap | |
| MultiDocsAndPositionsEnum |
Exposes flex API, merged from flex API of sub-segments.
|
| MultiDocsAndPositionsEnum.EnumWithSlice | |
| MultiDocsEnum |
Exposes flex API, merged from flex API of sub-segments.
|
| MultiDocsEnum.EnumWithSlice | |
| MultiDocValues |
A wrapper for CompositeIndexReader providing access to per segment
DocValues |
| MultiDocValues.DocValuesSlice | |
| MultiDocValues.EmptyDocValues | |
| MultiDocValues.EmptyFixedDocValues | |
| MultiFields |
Exposes flex API, merged from flex API of sub-segments.
|
| MultiFieldsEnum |
Exposes flex API, merged from flex API of sub-segments.
|
| MultiFieldsEnum.FieldsEnumWithSlice | |
| MultiReader |
A
CompositeReader which reads multiple indexes, appending
their content. |
| MultiTerms |
Exposes flex API, merged from flex API of
sub-segments.
|
| MultiTermsEnum |
Exposes flex API, merged from flex API of sub-segments.
|
| NoDeletionPolicy |
An
IndexDeletionPolicy which keeps all index commits around, never
deleting them. |
| NoMergePolicy |
A
MergePolicy which never returns merges to execute (hence it's
name). |
| NoMergeScheduler |
A
MergeScheduler which never executes any merges. |
| Norm |
Stores the normalization value computed in
Similarity.computeNorm(FieldInvertState, Norm) per field. |
| OrdTermState |
An ordinal based
TermState |
| ParallelAtomicReader |
An
AtomicReader which reads multiple, parallel indexes. |
| ParallelCompositeReader |
An
CompositeReader which reads multiple, parallel indexes. |
| PayloadProcessorProvider |
Provides a
PayloadProcessorProvider.ReaderPayloadProcessor to be used for a Directory. |
| PayloadProcessorProvider.PayloadProcessor |
Processes the given payload.
|
| PayloadProcessorProvider.ReaderPayloadProcessor |
Returns a
PayloadProcessorProvider.ReaderPayloadProcessor for a given Term which allows
processing the payloads of different terms differently. |
| PerDocWriteState |
Encapsulates all necessary state to initiate a
PerDocConsumer and
create all necessary files in order to consume and merge per-document values. |
| PersistentSnapshotDeletionPolicy |
A
SnapshotDeletionPolicy which adds a persistence layer so that
snapshots can be maintained across the life of an application. |
| ReaderManager |
Utility class to safely share
DirectoryReader instances across
multiple threads, while periodically reopening. |
| ReaderSlice |
Subreader slice from a parent composite reader.
|
| ReaderUtil |
Common util methods for dealing with
IndexReaders and IndexReaderContexts. |
| SegmentInfo |
Information about a segment such as it's name, directory, and files related
to the segment.
|
| SegmentInfoPerCommit |
Embeds a [read-only] SegmentInfo and adds per-commit
fields.
|
| SegmentInfos |
A collection of segmentInfo objects with methods for operating on
those segments in relation to the file system.
|
| SegmentInfos.FindSegmentsFile |
Utility class for executing code that needs to do
something with the current segments file.
|
| SegmentReader |
IndexReader implementation over a single segment.
|
| SegmentReadState |
Holder class for common parameters used during read.
|
| SegmentWriteState |
Holder class for common parameters used during write.
|
| SerialMergeScheduler |
A
MergeScheduler that simply does each merge
sequentially, using the current thread. |
| SingleTermsEnum |
Subclass of FilteredTermsEnum for enumerating a single term.
|
| SlowCompositeReaderWrapper |
This class forces a composite reader (eg a
MultiReader or DirectoryReader) to emulate an
atomic reader. |
| SnapshotDeletionPolicy |
An
IndexDeletionPolicy that wraps around any other
IndexDeletionPolicy and adds the ability to hold and later release
snapshots of an index. |
| SortedBytesMergeUtils | |
| SortedBytesMergeUtils.IndexOutputBytesRefConsumer | |
| SortedBytesMergeUtils.MergeContext | |
| SortedBytesMergeUtils.SortedSourceSlice | |
| StoredFieldVisitor |
Expert: provides a low-level means of accessing the stored field
values in an index.
|
| Term |
A Term represents a word from text.
|
| TermContext | |
| Terms |
Access to the terms in a specific field.
|
| TermsEnum |
Iterator to seek (
TermsEnum.seekCeil(BytesRef), TermsEnum.seekExact(BytesRef,boolean)) or step through (BytesRefIterator.next() terms to obtain frequency information (TermsEnum.docFreq()), DocsEnum or DocsAndPositionsEnum for the current term (TermsEnum.docs(org.apache.lucene.util.Bits, org.apache.lucene.index.DocsEnum). |
| TermState |
Encapsulates all required internal state to position the associated
TermsEnum without re-seeking. |
| TieredMergePolicy |
Merges segments of approximately equal size, subject to
an allowed number of segments per tier.
|
| TieredMergePolicy.MergeScore |
Holds score and explanation for a single candidate
merge.
|
| TwoPhaseCommitTool |
A utility for executing 2-phase commit on several objects.
|
| TwoPhaseCommitTool.TwoPhaseCommitWrapper |
A wrapper of a
TwoPhaseCommit, which delegates all calls to the
wrapped object, passing the specified commitData. |
| UpgradeIndexMergePolicy |
This
MergePolicy is used for upgrading all existing segments of
an index when calling IndexWriter.forceMerge(int). |
| Enum | Description |
|---|---|
| DocValues.Type |
Type specifies the DocValues type for a
certain field. |
| FieldInfo.IndexOptions |
Controls how much information is stored in the postings lists.
|
| FilteredTermsEnum.AcceptStatus |
Return value, if term should be accepted or the iteration should
END. |
| IndexWriterConfig.OpenMode |
Specifies the open mode for
IndexWriter. |
| StoredFieldVisitor.Status |
Enumeration of possible return values for
StoredFieldVisitor.needsField(org.apache.lucene.index.FieldInfo). |
| TermsEnum.SeekStatus |
Represents returned result from
TermsEnum.seekCeil(org.apache.lucene.util.BytesRef, boolean). |
| Exception | Description |
|---|---|
| CorruptIndexException |
This exception is thrown when Lucene detects
an inconsistency in the index.
|
| IndexFormatTooNewException |
This exception is thrown when Lucene detects
an index that is newer than this Lucene version.
|
| IndexFormatTooOldException |
This exception is thrown when Lucene detects
an index that is too old for this Lucene version
|
| IndexNotFoundException |
Signals that no index was found in the Directory.
|
| MergePolicy.MergeAbortedException | |
| MergePolicy.MergeException |
Exception thrown if there are any problems while
executing a merge.
|
| TwoPhaseCommitTool.CommitFailException |
Thrown by
TwoPhaseCommitTool.execute(TwoPhaseCommit...) when an
object fails to commit(). |
| TwoPhaseCommitTool.PrepareCommitFailException |
Thrown by
TwoPhaseCommitTool.execute(TwoPhaseCommit...) when an
object fails to prepareCommit(). |
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.