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.
Comparators, used to compare hits so as to determine their sort order when collecting the top
results with
TopFieldCollector
.-
Uses of SortedDocValues in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs that return SortedDocValuesModifier and TypeMethodDescriptionabstract SortedDocValues
ReturnsSortedDocValues
for this field. -
Uses of SortedDocValues in org.apache.lucene.index
Subclasses of SortedDocValues in org.apache.lucene.indexModifier and TypeClassDescriptionclass
Delegates all methods to a wrappedSortedDocValues
.static class
Implements SortedDocValues over n subs, using an OrdinalMapFields in org.apache.lucene.index declared as SortedDocValuesModifier and TypeFieldDescriptionprotected final SortedDocValues
FilterSortedDocValues.in
Wrapped valuesfinal SortedDocValues[]
MultiDocValues.MultiSortedDocValues.values
leaf valuesMethods in org.apache.lucene.index that return SortedDocValuesModifier 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.Methods in org.apache.lucene.index with parameters of type SortedDocValuesModifier 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 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 TypeMethodDescriptionstatic SortedDocValues
SortedSetSelector.wrap
(SortedSetDocValues sortedSet, SortedSetSelector.Type selector) Wraps a multi-valued SortedSetDocValues as a single-valued view, using the specified selector -
Uses of SortedDocValues in org.apache.lucene.search.comparators
Methods in org.apache.lucene.search.comparators that return SortedDocValuesModifier and TypeMethodDescriptionprotected SortedDocValues
TermOrdValComparator.getSortedDocValues
(LeafReaderContext context, String field) Retrieves the SortedDocValues for the field in this segment