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.
Compressing helper classes.
Lucene 9.0 file format.
Lucene 9.0 compressing format.
Postings format that can delegate to different formats per-field.
Pluggable term index / block terms dictionary implementations.
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
DocValuesConsumer.merge
(MergeState mergeState) Merges in the fields from the readers inmergeState
.void
FieldsConsumer.merge
(MergeState mergeState, NormsProducer norms) Merges in the fields from the readers inmergeState
.void
KnnVectorsWriter.merge
(MergeState mergeState) Merges the segment vectors for all fields.void
NormsConsumer.merge
(MergeState mergeState) Merges in the fields from the readers inmergeState
.void
PointsWriter.merge
(MergeState mergeState) Default merge implementation to merge incoming points readers by visiting all their points and adding to this writerint
StoredFieldsWriter.merge
(MergeState mergeState) Merges in the stored fields from the readers inmergeState
.int
TermVectorsWriter.merge
(MergeState mergeState) Merges in the term vectors from the readers inmergeState
.void
DocValuesConsumer.mergeBinaryField
(FieldInfo mergeFieldInfo, MergeState mergeState) Merges the binary docvalues fromMergeState
.void
NormsConsumer.mergeNormsField
(FieldInfo mergeFieldInfo, MergeState mergeState) Merges the norms fromtoMerge
.void
DocValuesConsumer.mergeNumericField
(FieldInfo mergeFieldInfo, MergeState mergeState) Merges the numeric docvalues fromMergeState
.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 fromtoMerge
.void
DocValuesConsumer.mergeSortedNumericField
(FieldInfo mergeFieldInfo, MergeState mergeState) Merges the sorted docvalues fromtoMerge
.void
DocValuesConsumer.mergeSortedSetField
(FieldInfo mergeFieldInfo, MergeState mergeState) Merges the sortedset docvalues fromtoMerge
.(package private) static KnnVectorsWriter.MergedVectorValues
KnnVectorsWriter.MergedVectorValues.mergeVectorValues
(FieldInfo fieldInfo, MergeState mergeState) Returns a merged view over all the segment'sVectorValues
.Constructors in org.apache.lucene.codecs with parameters of type MergeStateModifierConstructorDescriptionprivate
MergedVectorValues
(List<KnnVectorsWriter.VectorValuesSub> subs, MergeState mergeState) MergeVisitor
(MergeState mergeState, int readerIndex) Create new merge visitor. -
Uses of MergeState in org.apache.lucene.codecs.compressing
Constructors in org.apache.lucene.codecs.compressing with parameters of type MergeState -
Uses of MergeState in org.apache.lucene.codecs.lucene90
Methods in org.apache.lucene.codecs.lucene90 with parameters of type MergeState -
Uses of MergeState in org.apache.lucene.codecs.lucene90.compressing
Methods in org.apache.lucene.codecs.lucene90.compressing with parameters of type MergeStateModifier and TypeMethodDescriptionprivate boolean
Lucene90CompressingTermVectorsWriter.canPerformBulkMerge
(MergeState mergeState, MatchingReaders matchingReaders, int readerIndex) private void
Lucene90CompressingStoredFieldsWriter.copyChunks
(MergeState mergeState, Lucene90CompressingStoredFieldsWriter.CompressingStoredFieldsMergeSub sub, int fromDocID, int toDocID) private void
Lucene90CompressingTermVectorsWriter.copyChunks
(MergeState mergeState, Lucene90CompressingTermVectorsWriter.CompressingTermVectorsSub sub, int fromDocID, int toDocID) Lucene90CompressingStoredFieldsWriter.getMergeStrategy
(MergeState mergeState, MatchingReaders matchingReaders, int readerIndex) int
Lucene90CompressingStoredFieldsWriter.merge
(MergeState mergeState) int
Lucene90CompressingTermVectorsWriter.merge
(MergeState mergeState) Constructors in org.apache.lucene.codecs.lucene90.compressing with parameters of type MergeStateModifierConstructorDescription(package private)
CompressingStoredFieldsMergeSub
(MergeState mergeState, Lucene90CompressingStoredFieldsWriter.MergeStrategy mergeStrategy, int readerIndex) (package private)
CompressingTermVectorsSub
(MergeState mergeState, boolean canPerformBulkMerge, int readerIndex) -
Uses of MergeState in org.apache.lucene.codecs.perfield
Fields in org.apache.lucene.codecs.perfield declared as MergeStateMethods in org.apache.lucene.codecs.perfield that return MergeStateModifier and TypeMethodDescription(package private) MergeState
PerFieldMergeState.apply
(Collection<String> fields) Update the inputMergeState
instance to restrict the fields to the given ones.(package private) MergeState
PerFieldMergeState.reset()
Resets the inputMergeState
instance to its original state.Methods in org.apache.lucene.codecs.perfield with parameters of type MergeStateModifier and TypeMethodDescriptionvoid
PerFieldDocValuesFormat.FieldsWriter.merge
(MergeState mergeState) final void
PerFieldKnnVectorsFormat.FieldsWriter.merge
(MergeState mergeState) void
PerFieldPostingsFormat.FieldsWriter.merge
(MergeState mergeState, NormsProducer norms) Constructors in org.apache.lucene.codecs.perfield with parameters of type MergeState -
Uses of MergeState in org.apache.lucene.index
Fields in org.apache.lucene.index declared as MergeStateModifier and TypeFieldDescription(package private) final MergeState
MappedMultiFields.MappedMultiTerms.mergeState
(package private) final MergeState
MappedMultiFields.MappedMultiTermsEnum.mergeState
(package private) final MergeState
MappedMultiFields.mergeState
(package private) final MergeState
SegmentMerger.mergeState
Methods in org.apache.lucene.index that return MergeStateModifier and TypeMethodDescription(package private) MergeState
SegmentMerger.merge()
Merges the readers into the directory passed to the constructorMethods in org.apache.lucene.index with parameters of type MergeStateModifier and TypeMethodDescriptionprivate boolean
IndexWriter.commitMerge
(MergePolicy.OneMerge merge, MergeState mergeState) private ReadersAndUpdates
IndexWriter.commitMergedDeletesAndUpdates
(MergePolicy.OneMerge merge, MergeState mergeState) Carefully merges deletes and updates for the segments we just merged.Constructors in org.apache.lucene.index with parameters of type MergeStateModifierConstructorDescriptionMappedMultiFields
(MergeState mergeState, MultiFields multiFields) Create a new MappedMultiFields for merging, based on the supplied mergestate and merged view of terms.MappedMultiTerms
(String field, MergeState mergeState, MultiTerms multiTerms) MappedMultiTermsEnum
(String field, MergeState mergeState, MultiTermsEnum multiTermsEnum) MappingMultiPostingsEnum
(String field, MergeState mergeState) Sole constructor.