## 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.lucene40 | Lucene 4.0 file format.

### 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.
`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`.
`TermStats` | PostingsConsumer.`merge(MergeState mergeState, FieldInfo.IndexOptions indexOptions, DocsEnum postings, FixedBitSet visitedDocs)` Default merge impl: append documents, mapping around deletes
`void` | TermsConsumer.`merge(MergeState mergeState, FieldInfo.IndexOptions indexOptions, TermsEnum termsEnum)` Default merge impl
`void` | FieldsConsumer.`merge(MergeState mergeState, Fields fields)` Called during merging to merge all `Fields` from sub-readers.
`void` | DocValuesConsumer.`mergeBinaryField(FieldInfo fieldInfo, MergeState mergeState, List<BinaryDocValues> toMerge)` Merges the binary docvalues from `toMerge`.
`void` | DocValuesConsumer.`mergeNumericField(FieldInfo fieldInfo, MergeState mergeState, List<NumericDocValues> toMerge)` Merges the numeric docvalues from `toMerge`.
`void` | DocValuesConsumer.`mergeSortedField(FieldInfo fieldInfo, MergeState mergeState, List<SortedDocValues> toMerge)` Merges the sorted docvalues from `toMerge`.
`void` | DocValuesConsumer.`mergeSortedSetField(FieldInfo fieldInfo, MergeState mergeState, List<SortedSetDocValues> toMerge)` Merges the sortedset docvalues from `toMerge`.
`void` | MappingMultiDocsEnum.`setMergeState(MergeState mergeState)` Sets the `MergeState`, which is used to re-map document IDs.
`void` | MappingMultiDocsAndPositionsEnum.`setMergeState(MergeState mergeState)` Sets the `MergeState`, which is used to re-map document IDs.

### 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.lucene40

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