## Uses of Class
org.apache.lucene.util.InfoStream

- Packages that use InfoStream
  Package | Description
  --- | ---
  org.apache.lucene.index | Code to maintain and access indices.
  org.apache.lucene.util | Some utility classes.
  org.apache.lucene.util.hnsw | Navigable Small-World graph, nominally Hierarchical but currently only has a single layer.

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

    Fields in org.apache.lucene.index declared as InfoStream
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected InfoStream` | LiveIndexWriterConfig.`infoStream` | `InfoStream` for debugging messages.
    `protected InfoStream` | MergeScheduler.`infoStream` | For messages about merge scheduling
    `InfoStream` | MergeState.`infoStream` | InfoStream for debugging messages.
    `InfoStream` | SegmentWriteState.`infoStream` | `InfoStream` used for debugging messages.

    Methods in org.apache.lucene.index that return InfoStream
    Modifier and Type | Method | Description
    --- | --- | ---
    `InfoStream` | IndexWriter.`getInfoStream()` |
    `InfoStream` | IndexWriterConfig.`getInfoStream()` |
    `InfoStream` | LiveIndexWriterConfig.`getInfoStream()` | Returns `InfoStream` used for debugging.
    `InfoStream` | MergePolicy.MergeContext.`getInfoStream()` | Returns the info stream that can be used to log messages

    Methods in org.apache.lucene.index with parameters of type InfoStream
    Modifier and Type | Method | Description
    --- | --- | ---
    `IndexWriterConfig` | IndexWriterConfig.`setInfoStream​(InfoStream infoStream)` | Information about merges, deletes and a message when maxFieldLength is reached will be printed to this.

    Constructors in org.apache.lucene.index with parameters of type InfoStream
    Constructor | Description
    --- | ---
    `IndexUpgrader​(Directory dir, InfoStream infoStream, boolean deletePriorCommits)` | Creates index upgrader on the given directory, using an `IndexWriter` using the given `matchVersion`.
    `SegmentWriteState​(InfoStream infoStream, Directory directory, SegmentInfo segmentInfo, FieldInfos fieldInfos, org.apache.lucene.index.BufferedUpdates segUpdates, IOContext context)` | Sole constructor.
    `SegmentWriteState​(InfoStream infoStream, Directory directory, SegmentInfo segmentInfo, FieldInfos fieldInfos, org.apache.lucene.index.BufferedUpdates segUpdates, IOContext context, String segmentSuffix)` | Constructor which takes segment suffix.
    `SimpleMergedSegmentWarmer​(InfoStream infoStream)` | Creates a new SimpleMergedSegmentWarmer

  - ### Uses of InfoStream in org.apache.lucene.util

    Subclasses of InfoStream in org.apache.lucene.util
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `JavaLoggingInfoStream` | InfoStream implementation that logs every message using Java Utils Logging (JUL) with the supplied log level.
    `class` | `PrintStreamInfoStream` | InfoStream implementation over a `PrintStream` such as `System.out`.

    Fields in org.apache.lucene.util declared as InfoStream
    Modifier and Type | Field | Description
    --- | --- | ---
    `static InfoStream` | InfoStream.`NO_OUTPUT` | Instance of InfoStream that does no logging at all.

    Methods in org.apache.lucene.util that return InfoStream
    Modifier and Type | Method | Description
    --- | --- | ---
    `static InfoStream` | InfoStream.`getDefault()` | The default `InfoStream` used by a newly instantiated classes.

    Methods in org.apache.lucene.util with parameters of type InfoStream
    Modifier and Type | Method | Description
    --- | --- | ---
    `static void` | InfoStream.`setDefault​(InfoStream infoStream)` | Sets the default `InfoStream` used by a newly instantiated classes.

  - ### Uses of InfoStream in org.apache.lucene.util.hnsw

    Methods in org.apache.lucene.util.hnsw with parameters of type InfoStream
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | HnswGraphBuilder.`setInfoStream​(InfoStream infoStream)` | Set info-stream to output debugging information *