Uses of Class
org.apache.lucene.index.CompositeReader
Packages that use CompositeReader
Package
Description
Code to maintain and access indices.
Misc index tools and index support.
-
Uses of CompositeReader in org.apache.lucene.index
Subclasses of CompositeReader in org.apache.lucene.indexModifier and TypeClassDescriptionclass
BaseCompositeReader<R extends IndexReader>
Base class for implementingCompositeReader
s based on an array of sub-readers.class
DirectoryReader is an implementation ofCompositeReader
that can read indexes in aDirectory
.class
TheExitableDirectoryReader
wraps a real indexDirectoryReader
and allows for aQueryTimeout
implementation object to be checked periodically to see if the thread should exit or not.class
A FilterDirectoryReader wraps another DirectoryReader, allowing implementations to transform or extend it.class
ACompositeReader
which reads multiple indexes, appending their content.class
AnCompositeReader
which reads multiple, parallel indexes.final class
This reader filters out documents that have a doc values value in the given field and treat these documents as soft deleted.final class
Default implementation ofDirectoryReader
.Fields in org.apache.lucene.index declared as CompositeReaderModifier and TypeFieldDescriptionprivate final CompositeReader
CompositeReaderContext.Builder.reader
private final CompositeReader
CompositeReaderContext.reader
Methods in org.apache.lucene.index that return CompositeReaderMethods in org.apache.lucene.index with parameters of type CompositeReaderModifier and TypeMethodDescription(package private) static CompositeReaderContext
CompositeReaderContext.create
(CompositeReader reader) private static LeafReader[]
ParallelCompositeReader.prepareLeafReaders
(CompositeReader[] readers, CompositeReader[] storedFieldsReaders) private static void
ParallelCompositeReader.validate
(CompositeReader[] readers, int maxDoc, int[] leafMaxDoc) Constructors in org.apache.lucene.index with parameters of type CompositeReaderModifierConstructorDescriptionBuilder
(CompositeReader reader) (package private)
CompositeReaderContext
(CompositeReaderContext parent, CompositeReader reader, int ordInParent, int docbaseInParent, List<IndexReaderContext> children) Creates aCompositeReaderContext
for intermediate readers that aren't not top-level readers in the current contextprivate
CompositeReaderContext
(CompositeReaderContext parent, CompositeReader reader, int ordInParent, int docbaseInParent, List<IndexReaderContext> children, List<LeafReaderContext> leaves) (package private)
CompositeReaderContext
(CompositeReader reader, List<IndexReaderContext> children, List<LeafReaderContext> leaves) Creates aCompositeReaderContext
for top-level readers with parent set tonull
ParallelCompositeReader
(boolean closeSubReaders, CompositeReader... readers) Create a ParallelCompositeReader based on the provided readers.ParallelCompositeReader
(boolean closeSubReaders, CompositeReader[] readers, CompositeReader[] storedFieldReaders) Expert: create a ParallelCompositeReader based on the provided readers and storedFieldReaders; when a document is loaded, only storedFieldsReaders will be used.ParallelCompositeReader
(CompositeReader... readers) Create a ParallelCompositeReader based on the provided readers; auto-closes the given readers onIndexReader.close()
. -
Uses of CompositeReader in org.apache.lucene.misc.index
Subclasses of CompositeReader in org.apache.lucene.misc.indexModifier and TypeClassDescriptionprivate static final class
This class emulates deletions on the underlying index.