## Uses of Class
org.apache.lucene.index.CompositeReader

- Packages that use CompositeReader
  Package | Description
  --- | ---
  org.apache.lucene.index | Code to maintain and access indices.

- - ### Uses of CompositeReader in org.apache.lucene.index

    Subclasses of CompositeReader in org.apache.lucene.index
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BaseCompositeReader<R extends IndexReader>` Base class for implementing `CompositeReader`s based on an array of sub-readers.
    `class` | `DirectoryReader` DirectoryReader is an implementation of `CompositeReader` that can read indexes in a `Directory`.
    `class` | `ExitableDirectoryReader` The `ExitableDirectoryReader` wraps a real index `DirectoryReader` and allows for a `QueryTimeout` implementation object to be checked periodically to see if the thread should exit or not.
    `class` | `FilterDirectoryReader` A FilterDirectoryReader wraps another DirectoryReader, allowing implementations to transform or extend it.
    `class` | `MultiReader` A `CompositeReader` which reads multiple indexes, appending their content.
    `class` | `ParallelCompositeReader` An `CompositeReader` which reads multiple, parallel indexes.
    `class` | `StandardDirectoryReader` Default implementation of `DirectoryReader`.

    Methods in org.apache.lucene.index that return CompositeReader
    Modifier and Type | Method and Description
    --- | ---
    `CompositeReader` | CompositeReaderContext.`reader()`

    Constructors in org.apache.lucene.index with parameters of type CompositeReader
    Constructor and Description
    `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(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 on `IndexReader.close()`.

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