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

Packages that use MergeState
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.lucene86: Lucene 8.6 file 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
`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` DocValuesConsumer.`merge(MergeState mergeState)` Merges in the fields from the readers in `mergeState`.
`int` TermVectorsWriter.`merge(MergeState mergeState)` Merges in the term vectors from the readers in `mergeState`.
`int` StoredFieldsWriter.`merge(MergeState mergeState)` Merges in the stored fields from the readers in `mergeState`.
`void` FieldsConsumer.`merge(MergeState mergeState, NormsProducer norms)` Merges in the fields from the readers in `mergeState`.
`void` DocValuesConsumer.`mergeBinaryField(FieldInfo mergeFieldInfo, MergeState mergeState)` Merges the binary docvalues from `MergeState`.
`void` NormsConsumer.`mergeNormsField(FieldInfo mergeFieldInfo, MergeState mergeState)` Merges the norms from `toMerge`.
`void` DocValuesConsumer.`mergeNumericField(FieldInfo mergeFieldInfo, MergeState mergeState)` Merges the numeric docvalues from `MergeState`.
`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)` Merges the sorted docvalues from `toMerge`.
`void` DocValuesConsumer.`mergeSortedNumericField(FieldInfo mergeFieldInfo, MergeState mergeState)` Merges the sorted docvalues from `toMerge`.
`void` DocValuesConsumer.`mergeSortedSetField(FieldInfo mergeFieldInfo, MergeState mergeState)` 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
`int` CompressingTermVectorsWriter.`merge(MergeState mergeState)`
`int` CompressingStoredFieldsWriter.`merge(MergeState mergeState)`

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

Methods in org.apache.lucene.codecs.lucene86 with parameters of type MergeState
`void` Lucene86PointsWriter.`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.