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

- Packages that use MergeState
  Package | Description
  --- | ---
  org.apache.lucene.codecs | Codecs API: API for customization of the encoding and structure of the index.
  org.apache.lucene.codecs.compressing | StoredFieldsFormat that allows cross-document and cross-field compression of stored fields.
  org.apache.lucene.index | Code to maintain and access indices.

- - ### Uses of MergeState in org.apache.lucene.codecs

    Methods in org.apache.lucene.codecs with parameters of type MergeState
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | TermVectorsWriter.`addAllDocVectors(Fields vectors, MergeState mergeState)` Safe (but, slowish) default method to write every vector field in the document.
    `void` | NormsConsumer.`merge(MergeState mergeState)` Merges in the fields from the readers in `mergeState`.
    `int` | StoredFieldsWriter.`merge(MergeState mergeState)` Merges in the stored fields from the readers in `mergeState`.
    `int` | TermVectorsWriter.`merge(MergeState mergeState)` Merges in the term vectors from the readers in `mergeState`.
    `void` | FieldsConsumer.`merge(MergeState mergeState)` Merges in the fields from the readers in `mergeState`.
    `void` | DocValuesConsumer.`merge(MergeState mergeState)` Merges in the fields from the readers in `mergeState`.
    `void` | DocValuesConsumer.`mergeBinaryField(FieldInfo fieldInfo, MergeState mergeState, List<BinaryDocValues> toMerge, List<Bits> docsWithField)` Merges the binary docvalues from `toMerge`.
    `void` | NormsConsumer.`mergeNormsField(FieldInfo fieldInfo, MergeState mergeState, List<NumericDocValues> toMerge)` Merges the norms from `toMerge`.
    `void` | DocValuesConsumer.`mergeNumericField(FieldInfo fieldInfo, MergeState mergeState, List<NumericDocValues> toMerge, List<Bits> docsWithField)` Merges the numeric docvalues from `toMerge`.
    `void` | DocValuesConsumer.`mergeSortedField(FieldInfo fieldInfo, MergeState mergeState, List<SortedDocValues> toMerge)` Merges the sorted docvalues from `toMerge`.
    `void` | DocValuesConsumer.`mergeSortedNumericField(FieldInfo fieldInfo, MergeState mergeState, List<SortedNumericDocValues> toMerge)` Merges the sorted docvalues from `toMerge`.
    `void` | DocValuesConsumer.`mergeSortedSetField(FieldInfo fieldInfo, MergeState mergeState, List<SortedSetDocValues> toMerge)` Merges the sortedset docvalues from `toMerge`.

    Constructors in org.apache.lucene.codecs with parameters of type MergeState
    Constructor and Description
    `StoredFieldsWriter.MergeVisitor(MergeState mergeState, int readerIndex)` Create new merge visitor.

  - ### Uses of MergeState in org.apache.lucene.codecs.compressing

    Methods in org.apache.lucene.codecs.compressing with parameters of type MergeState
    Modifier and Type | Method and Description
    --- | ---
    `int` | CompressingTermVectorsWriter.`merge(MergeState mergeState)`
    `int` | CompressingStoredFieldsWriter.`merge(MergeState mergeState)`

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

    Methods in org.apache.lucene.index with parameters of type MergeState
    Modifier and Type | Method and Description
    --- | ---
    `MergePolicy.DocMap` | MergePolicy.OneMerge.`getDocMap(MergeState mergeState)` Expert: If `MergePolicy.OneMerge.getMergeReaders()` reorders document IDs, this method must be overridden to return a mapping from the natural doc ID (the doc ID that would result from a natural merge) to the actual doc ID.

    Constructors in org.apache.lucene.index with parameters of type MergeState
    Constructor and Description
    `MappedMultiFields(MergeState mergeState, MultiFields multiFields)` Create a new MappedMultiFields for merging, based on the supplied mergestate and merged view of terms.

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