Uses of Class
org.apache.lucene.index.OrdinalMap
Packages that use OrdinalMap
Package
Description
Codecs API: API for customization of the encoding and structure of the index.
Code to maintain and access indices.
-
Uses of OrdinalMap in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs that return OrdinalMapModifier and TypeMethodDescriptionprotected static OrdinalMapDocValuesConsumer.createOrdinalMapForSortedDV(FieldInfo fieldInfo, MergeState mergeState) Returns a merged sorted doc values instance from all producers in the provided merge state.protected static OrdinalMapDocValuesConsumer.createOrdinalMapForSortedSetDV(List<SortedSetDocValues> toMerge, MergeState mergeState) Creates an ordinal map based on the provided sorted set doc values to mergesMethods in org.apache.lucene.codecs with parameters of type OrdinalMapModifier and TypeMethodDescriptionprotected static SortedDocValuesDocValuesConsumer.getMergedSortedSetDocValues(FieldInfo fieldInfo, MergeState mergeState, OrdinalMap map) Returns a merged sorted doc values instance from all producers in the provided merge state.protected static SortedSetDocValuesDocValuesConsumer.getMergedSortedSetDocValues(FieldInfo mergeFieldInfo, MergeState mergeState, OrdinalMap map, List<SortedSetDocValues> toMerge) Returns a sorted set doc values instance from all producers in the provided merge state.protected static SortedDocValuesDocValuesConsumer.mergeSortedValues(List<org.apache.lucene.codecs.DocValuesConsumer.SortedDocValuesSub> subs, MergeState mergeState, OrdinalMap map) Returns a merged sorted doc values instance from all producers in the provided merge state. -
Uses of OrdinalMap in org.apache.lucene.index
Fields in org.apache.lucene.index declared as OrdinalMapModifier and TypeFieldDescriptionfinal OrdinalMapMultiDocValues.MultiSortedDocValues.mappingordinal map mapping ords fromvaluesto global ord spacefinal OrdinalMapMultiDocValues.MultiSortedSetDocValues.mappingordinal map mapping ords fromvaluesto global ord spaceMethods in org.apache.lucene.index that return OrdinalMapModifier and TypeMethodDescriptionstatic OrdinalMapOrdinalMap.build(IndexReader.CacheKey owner, SortedDocValues[] values, float acceptableOverheadRatio) Create an ordinal map that uses the number of unique values of eachSortedDocValuesinstance as a weight.static OrdinalMapOrdinalMap.build(IndexReader.CacheKey owner, SortedSetDocValues[] values, float acceptableOverheadRatio) Create an ordinal map that uses the number of unique values of eachSortedSetDocValuesinstance as a weight.static OrdinalMapOrdinalMap.build(IndexReader.CacheKey owner, TermsEnum[] subs, long[] weights, float acceptableOverheadRatio) Creates an ordinal map that allows mapping ords to/from a merged space fromsubs.Constructors in org.apache.lucene.index with parameters of type OrdinalMapModifierConstructorDescriptionMultiSortedDocValues(SortedDocValues[] values, int[] docStarts, OrdinalMap mapping, long totalCost) Creates a new MultiSortedDocValues overvaluesMultiSortedSetDocValues(SortedSetDocValues[] values, int[] docStarts, OrdinalMap mapping, long totalCost) Creates a new MultiSortedSetDocValues overvalues