Uses of Class
org.apache.lucene.index.MergeState
Packages that use MergeState
Package
Description
Codecs API: API for customization of the encoding and structure of the index.
StoredFieldsFormat that allows cross-document and cross-field compression of stored fields.
Lucene 4.0 file format.
Code to maintain and access indices.
-
Uses of MergeState in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs with parameters of type MergeStateModifier and TypeMethodDescriptionprotected final void
TermVectorsWriter.addAllDocVectors
(Fields vectors, MergeState mergeState) Safe (but, slowish) default method to write every vector field in the document.void
FieldsConsumer.merge
(MergeState mergeState, Fields fields) Called during merging to merge allFields
from sub-readers.PostingsConsumer.merge
(MergeState mergeState, FieldInfo.IndexOptions indexOptions, DocsEnum postings, FixedBitSet visitedDocs) Default merge impl: append documents, mapping around deletesint
StoredFieldsWriter.merge
(MergeState mergeState) Merges in the stored fields from the readers inmergeState
.void
TermsConsumer.merge
(MergeState mergeState, FieldInfo.IndexOptions indexOptions, TermsEnum termsEnum) Default merge implint
TermVectorsWriter.merge
(MergeState mergeState) Merges in the term vectors from the readers inmergeState
.void
DocValuesConsumer.mergeBinaryField
(FieldInfo fieldInfo, MergeState mergeState, List<BinaryDocValues> toMerge, List<Bits> docsWithField) Merges the binary docvalues fromtoMerge
.void
DocValuesConsumer.mergeNumericField
(FieldInfo fieldInfo, MergeState mergeState, List<NumericDocValues> toMerge, List<Bits> docsWithField) Merges the numeric docvalues fromtoMerge
.void
DocValuesConsumer.mergeSortedField
(FieldInfo fieldInfo, MergeState mergeState, List<SortedDocValues> toMerge) Merges the sorted docvalues fromtoMerge
.void
DocValuesConsumer.mergeSortedSetField
(FieldInfo fieldInfo, MergeState mergeState, List<SortedSetDocValues> toMerge) Merges the sortedset docvalues fromtoMerge
.void
MappingMultiDocsAndPositionsEnum.setMergeState
(MergeState mergeState) Sets theMergeState
, which is used to re-map document IDs.void
MappingMultiDocsEnum.setMergeState
(MergeState mergeState) Sets theMergeState
, 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 MergeStateModifier and TypeMethodDescriptionint
CompressingStoredFieldsWriter.merge
(MergeState mergeState) int
CompressingTermVectorsWriter.merge
(MergeState mergeState) -
Uses of MergeState in org.apache.lucene.codecs.lucene40
Methods in org.apache.lucene.codecs.lucene40 with parameters of type MergeStateModifier and TypeMethodDescriptionint
Lucene40StoredFieldsWriter.merge
(MergeState mergeState) final int
Lucene40TermVectorsWriter.merge
(MergeState mergeState) -
Uses of MergeState in org.apache.lucene.index
Methods in org.apache.lucene.index with parameters of type MergeStateModifier and TypeMethodDescriptionMergePolicy.OneMerge.getDocMap
(MergeState mergeState) Expert: IfMergePolicy.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.