## 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.lucene40: Lucene 4.0 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.
`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
`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
`int` `Lucene40TermVectorsWriter.merge(MergeState mergeState)`
`int` `Lucene40StoredFieldsWriter.merge(MergeState mergeState)`

Uses of MergeState in org.apache.lucene.index

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

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