Uses of Class
org.apache.lucene.index.MergeState
Packages that use MergeState
Package
Description
Compressing helper classes.
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.
Lucene 9.5 file 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.backward_codecs.compressing
Constructors in org.apache.lucene.backward_codecs.compressing with parameters of type MergeState -
Uses of MergeState in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs with parameters of type MergeStateModifier and TypeMethodDescriptionprotected final voidTermVectorsWriter.addAllDocVectors(Fields vectors, MergeState mergeState) Safe (but, slowish) default method to write every vector field in the document.voidDocValuesConsumer.merge(MergeState mergeState) Merges in the fields from the readers inmergeState.voidFieldsConsumer.merge(MergeState mergeState, NormsProducer norms) Merges in the fields from the readers inmergeState.final voidKnnVectorsWriter.merge(MergeState mergeState) Merges the segment vectors for all fields.voidNormsConsumer.merge(MergeState mergeState) Merges in the fields from the readers inmergeState.voidPointsWriter.merge(MergeState mergeState) Default merge implementation to merge incoming points readers by visiting all their points and adding to this writerintStoredFieldsWriter.merge(MergeState mergeState) Merges in the stored fields from the readers inmergeState.intTermVectorsWriter.merge(MergeState mergeState) Merges in the term vectors from the readers inmergeState.voidDocValuesConsumer.mergeBinaryField(FieldInfo mergeFieldInfo, MergeState mergeState) Merges the binary docvalues fromMergeState.static ByteVectorValuesKnnVectorsWriter.MergedVectorValues.mergeByteVectorValues(FieldInfo fieldInfo, MergeState mergeState) Returns a merged view over all the segment'sByteVectorValues.static FloatVectorValuesKnnVectorsWriter.MergedVectorValues.mergeFloatVectorValues(FieldInfo fieldInfo, MergeState mergeState) Returns a merged view over all the segment'sFloatVectorValues.voidNormsConsumer.mergeNormsField(FieldInfo mergeFieldInfo, MergeState mergeState) Merges the norms fromtoMerge.voidDocValuesConsumer.mergeNumericField(FieldInfo mergeFieldInfo, MergeState mergeState) Merges the numeric docvalues fromMergeState.voidBufferingKnnVectorsWriter.mergeOneField(FieldInfo fieldInfo, MergeState mergeState) voidKnnVectorsWriter.mergeOneField(FieldInfo fieldInfo, MergeState mergeState) Write field for mergingprotected voidPointsWriter.mergeOneField(MergeState mergeState, FieldInfo fieldInfo) Default naive merge implementation for one field: it just re-indexes all the values from the incoming segment.voidDocValuesConsumer.mergeSortedField(FieldInfo fieldInfo, MergeState mergeState) Merges the sorted docvalues fromtoMerge.voidDocValuesConsumer.mergeSortedNumericField(FieldInfo mergeFieldInfo, MergeState mergeState) Merges the sorted docvalues fromtoMerge.voidDocValuesConsumer.mergeSortedSetField(FieldInfo mergeFieldInfo, MergeState mergeState) Merges the sortedset docvalues fromtoMerge.Constructors in org.apache.lucene.codecs with parameters of type MergeStateModifierConstructorDescriptionprivateMergedByteVectorValues(List<KnnVectorsWriter.ByteVectorValuesSub> subs, MergeState mergeState) privateMergedFloat32VectorValues(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 booleanLucene90CompressingTermVectorsWriter.canPerformBulkMerge(MergeState mergeState, MatchingReaders matchingReaders, int readerIndex) private voidLucene90CompressingStoredFieldsWriter.copyChunks(MergeState mergeState, Lucene90CompressingStoredFieldsWriter.CompressingStoredFieldsMergeSub sub, int fromDocID, int toDocID) private voidLucene90CompressingTermVectorsWriter.copyChunks(MergeState mergeState, Lucene90CompressingTermVectorsWriter.CompressingTermVectorsSub sub, int fromDocID, int toDocID) Lucene90CompressingStoredFieldsWriter.getMergeStrategy(MergeState mergeState, MatchingReaders matchingReaders, int readerIndex) intLucene90CompressingStoredFieldsWriter.merge(MergeState mergeState) intLucene90CompressingTermVectorsWriter.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.lucene95
Methods in org.apache.lucene.codecs.lucene95 with parameters of type MergeStateModifier and TypeMethodDescriptionvoidLucene95HnswVectorsWriter.mergeOneField(FieldInfo fieldInfo, MergeState mergeState) -
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) MergeStatePerFieldMergeState.apply(Collection<String> fields) Update the inputMergeStateinstance to restrict the fields to the given ones.(package private) MergeStatePerFieldMergeState.reset()Resets the inputMergeStateinstance to its original state.Methods in org.apache.lucene.codecs.perfield with parameters of type MergeStateModifier and TypeMethodDescriptionvoidPerFieldDocValuesFormat.FieldsWriter.merge(MergeState mergeState) voidPerFieldPostingsFormat.FieldsWriter.merge(MergeState mergeState, NormsProducer norms) voidPerFieldKnnVectorsFormat.FieldsWriter.mergeOneField(FieldInfo fieldInfo, MergeState mergeState) 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 MergeStateMappedMultiFields.MappedMultiTerms.mergeState(package private) final MergeStateMappedMultiFields.MappedMultiTermsEnum.mergeState(package private) final MergeStateMappedMultiFields.mergeState(package private) final MergeStateSegmentMerger.mergeStateMethods in org.apache.lucene.index that return MergeStateModifier and TypeMethodDescription(package private) MergeStateSegmentMerger.merge()Merges the readers into the directory passed to the constructorMethods in org.apache.lucene.index with parameters of type MergeStateModifier and TypeMethodDescriptionprivate booleanIndexWriter.commitMerge(MergePolicy.OneMerge merge, MergeState mergeState) private ReadersAndUpdatesIndexWriter.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.