Uses of Class
org.apache.lucene.index.SortedDocValues
-
Packages that use SortedDocValues Package Description org.apache.lucene.codecs Codecs API: API for customization of the encoding and structure of the index.org.apache.lucene.index Code to maintain and access indices.org.apache.lucene.search Code to search indices. -
-
Uses of SortedDocValues in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs that return SortedDocValues Modifier and Type Method Description abstract SortedDocValues
DocValuesProducer. getSorted(FieldInfo field)
ReturnsSortedDocValues
for this field. -
Uses of SortedDocValues in org.apache.lucene.index
Subclasses of SortedDocValues in org.apache.lucene.index Modifier and Type Class Description class
FilterSortedDocValues
Delegates all methods to a wrappedSortedDocValues
.static class
MultiDocValues.MultiSortedDocValues
Implements SortedDocValues over n subs, using an OrdinalMapFields in org.apache.lucene.index declared as SortedDocValues Modifier and Type Field Description protected SortedDocValues
FilterSortedDocValues. in
Wrapped valuesSortedDocValues[]
MultiDocValues.MultiSortedDocValues. values
leaf valuesMethods in org.apache.lucene.index that return SortedDocValues Modifier and Type Method Description static SortedDocValues
DocValues. emptySorted()
An empty SortedDocValues which returnsBytesRef.EMPTY_BYTES
for every documentSortedDocValues
IndexSorter.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.SortedDocValues
EmptyDocValuesProducer. getSorted(FieldInfo field)
SortedDocValues
CodecReader. getSortedDocValues(String field)
SortedDocValues
ExitableDirectoryReader.ExitableFilterAtomicReader. getSortedDocValues(String field)
SortedDocValues
FilterLeafReader. getSortedDocValues(String field)
abstract SortedDocValues
LeafReader. getSortedDocValues(String field)
ReturnsSortedDocValues
for this field, or null if noSortedDocValues
were indexed for this field.SortedDocValues
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 SortedDocValues Modifier and Type Method Description static 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 SortedDocValues Constructor Description FilterSortedDocValues(SortedDocValues in)
Sole 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 SortedDocValues Modifier and Type Method Description protected 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
-