Uses of Class
org.apache.lucene.index.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
Modifier and TypeMethodDescriptionabstract SortedDocValues
ReturnsSortedDocValues
for this field. -
Uses of SortedDocValues in org.apache.lucene.index
Modifier and TypeClassDescriptionclass
Delegates all methods to a wrappedSortedDocValues
.static class
Implements SortedDocValues over n subs, using an OrdinalMapModifier and TypeFieldDescriptionprotected final SortedDocValues
FilterSortedDocValues.in
Wrapped valuesfinal SortedDocValues[]
MultiDocValues.MultiSortedDocValues.values
leaf valuesModifier and TypeMethodDescriptionstatic final SortedDocValues
DocValues.emptySorted()
An empty SortedDocValues which returnsBytesRef.EMPTY_BYTES
for every documentIndexSorter.SortedDocValuesProvider.get
(LeafReader reader) Returns the SortedDocValues instance for this LeafReaderstatic SortedDocValues
DocValues.getSorted
(LeafReader reader, String field) Returns SortedDocValues for the field, orDocValues.emptySorted()
if it has none.final SortedDocValues
CodecReader.getSortedDocValues
(String field) ExitableDirectoryReader.ExitableFilterAtomicReader.getSortedDocValues
(String field) FilterLeafReader.getSortedDocValues
(String field) abstract SortedDocValues
LeafReader.getSortedDocValues
(String field) ReturnsSortedDocValues
for this field, or null if noSortedDocValues
were indexed for this field.ParallelLeafReader.getSortedDocValues
(String field) static SortedDocValues
MultiDocValues.getSortedValues
(IndexReader r, String field) Returns a SortedDocValues for a reader's docvalues (potentially doing extremely slow things).static SortedDocValues
DocValues.unwrapSingleton
(SortedSetDocValues dv) Returns a single-valued view of the SortedSetDocValues, if it was previously wrapped withDocValues.singleton(SortedDocValues)
, or null.Modifier and TypeMethodDescriptionstatic OrdinalMap
OrdinalMap.build
(IndexReader.CacheKey owner, SortedDocValues[] values, float acceptableOverheadRatio) Create an ordinal map that uses the number of unique values of eachSortedDocValues
instance as a weight.static SortedSetDocValues
DocValues.singleton
(SortedDocValues dv) Returns a multi-valued view over the provided SortedDocValuesModifierConstructorDescriptionSole constructorMultiSortedDocValues
(SortedDocValues[] values, int[] docStarts, OrdinalMap mapping, long totalCost) Creates a new MultiSortedDocValues overvalues
-
Uses of SortedDocValues in org.apache.lucene.search
Modifier and TypeMethodDescriptionprotected SortedDocValues
FieldComparator.TermOrdValComparator.getSortedDocValues
(LeafReaderContext context, String field) Retrieves the SortedDocValues for the field in this segmentstatic SortedDocValues
SortedSetSelector.wrap
(SortedSetDocValues sortedSet, SortedSetSelector.Type selector) Wraps a multi-valued SortedSetDocValues as a single-valued view, using the specified selector