Uses of Class
org.apache.lucene.index.SortedDocValues
Packages that use SortedDocValues
Package
Description
Codecs API: API for customization of the encoding and structure of the index.
Code to maintain and access indices.
Code to search indices.
-
Uses of SortedDocValues in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs that return SortedDocValuesModifier and TypeMethodDescriptionabstract SortedDocValuesReturnsSortedDocValuesfor this field. -
Uses of SortedDocValues in org.apache.lucene.index
Subclasses of SortedDocValues in org.apache.lucene.indexModifier and TypeClassDescriptionclassDelegates all methods to a wrappedSortedDocValues.static classImplements SortedDocValues over n subs, using an OrdinalMapFields in org.apache.lucene.index declared as SortedDocValuesModifier and TypeFieldDescriptionprotected final SortedDocValuesFilterSortedDocValues.inWrapped valuesfinal SortedDocValues[]MultiDocValues.MultiSortedDocValues.valuesleaf valuesMethods in org.apache.lucene.index that return SortedDocValuesModifier and TypeMethodDescriptionstatic final SortedDocValuesDocValues.emptySorted()An empty SortedDocValues which returnsBytesRef.EMPTY_BYTESfor every documentIndexSorter.SortedDocValuesProvider.get(LeafReader reader) Returns the SortedDocValues instance for this LeafReaderstatic SortedDocValuesDocValues.getSorted(LeafReader reader, String field) Returns SortedDocValues for the field, orDocValues.emptySorted()if it has none.final SortedDocValuesCodecReader.getSortedDocValues(String field) ExitableDirectoryReader.ExitableFilterAtomicReader.getSortedDocValues(String field) FilterLeafReader.getSortedDocValues(String field) abstract SortedDocValuesLeafReader.getSortedDocValues(String field) ReturnsSortedDocValuesfor this field, or null if noSortedDocValueswere indexed for this field.ParallelLeafReader.getSortedDocValues(String field) static SortedDocValuesMultiDocValues.getSortedValues(IndexReader r, String field) Returns a SortedDocValues for a reader's docvalues (potentially doing extremely slow things).static SortedDocValuesDocValues.unwrapSingleton(SortedSetDocValues dv) Returns a single-valued view of the SortedSetDocValues, if it was previously wrapped withDocValues.singleton(SortedDocValues), or null.Methods in org.apache.lucene.index with parameters of type SortedDocValuesModifier 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 SortedSetDocValuesDocValues.singleton(SortedDocValues dv) Returns a multi-valued view over the provided SortedDocValuesConstructors in org.apache.lucene.index with parameters of type SortedDocValuesModifierConstructorDescriptionSole constructorMultiSortedDocValues(SortedDocValues[] values, int[] docStarts, OrdinalMap mapping, long totalCost) Creates a new MultiSortedDocValues overvalues -
Uses of SortedDocValues in org.apache.lucene.search
Methods in org.apache.lucene.search that return SortedDocValuesModifier and TypeMethodDescriptionprotected SortedDocValuesFieldComparator.TermOrdValComparator.getSortedDocValues(LeafReaderContext context, String field) Retrieves the SortedDocValues for the field in this segmentstatic SortedDocValuesSortedSetSelector.wrap(SortedSetDocValues sortedSet, SortedSetSelector.Type selector) Wraps a multi-valued SortedSetDocValues as a single-valued view, using the specified selector