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 TypeClassDescriptionclassBaseCompositeReader<R extends IndexReader>Base class for implementingCompositeReaders based on an array of sub-readers.classDirectoryReader is an implementation ofCompositeReaderthat can read indexes in aDirectory.classTheExitableDirectoryReaderwraps a real indexDirectoryReaderand allows for aQueryTimeoutimplementation object to be checked periodically to see if the thread should exit or not.classA FilterDirectoryReader wraps another DirectoryReader, allowing implementations to transform or extend it.classACompositeReaderwhich reads multiple indexes, appending their content.classAnCompositeReaderwhich reads multiple, parallel indexes.final classThis reader filters out documents that have a doc values value in the given field and treat these documents as soft deleted.final classDefault implementation ofDirectoryReader.Fields in org.apache.lucene.index declared as CompositeReaderModifier and TypeFieldDescriptionprivate final CompositeReaderCompositeReaderContext.Builder.readerprivate final CompositeReaderCompositeReaderContext.readerMethods in org.apache.lucene.index that return CompositeReaderMethods in org.apache.lucene.index with parameters of type CompositeReaderModifier and TypeMethodDescription(package private) static CompositeReaderContextCompositeReaderContext.create(CompositeReader reader) private static LeafReader[]ParallelCompositeReader.prepareLeafReaders(CompositeReader[] readers, CompositeReader[] storedFieldsReaders) private static voidParallelCompositeReader.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 aCompositeReaderContextfor intermediate readers that aren't not top-level readers in the current contextprivateCompositeReaderContext(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 aCompositeReaderContextfor top-level readers with parent set tonullParallelCompositeReader(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 classThis class emulates deletions on the underlying index.