## 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.codecs.lucene60 | Components from the Lucene 6.0 index format.
  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` | PointsWriter.`merge(MergeState mergeState)` Default merge implementation to merge incoming points readers by visiting all their points and adding to this writer
    `void` | NormsConsumer.`merge(MergeState mergeState)` Merges in the fields from the readers in `mergeState`.
    `void` | FieldsConsumer.`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` | 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`.
    `protected void` | PointsWriter.`mergeOneField(MergeState mergeState, FieldInfo fieldInfo)` Default naive merge implementation for one field: it just re-indexes all the values from the incoming segment.
    `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, List<SortedNumericDocValues> toMerge2)` 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
    `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.codecs.lucene60

    Methods in org.apache.lucene.codecs.lucene60 with parameters of type MergeState
    Modifier and Type | Method and Description
    --- | ---
    `void` | Lucene60PointsWriter.`merge(MergeState mergeState)`

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

    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-2018 Apache Software Foundation. All Rights Reserved.