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 SortedDocValuesDocValuesProducer. getSorted(FieldInfo field)ReturnsSortedDocValuesfor this field.Methods in org.apache.lucene.codecs with parameters of type SortedDocValues Modifier and Type Method Description static Iterable<BytesRef>LegacyDocValuesIterables. valuesIterable(SortedDocValues values)Deprecated.ConsumeSortedDocValuesinstead. -
Uses of SortedDocValues in org.apache.lucene.index
Subclasses of SortedDocValues in org.apache.lucene.index Modifier and Type Class Description classLegacySortedDocValuesWrapperDeprecated.ImplementSortedDocValuesdirectly.static classMultiDocValues.MultiSortedDocValuesImplements SortedDocValues over n subs, using an OrdinalMapFields in org.apache.lucene.index declared as SortedDocValues Modifier and Type Field Description SortedDocValues[]MultiDocValues.MultiSortedDocValues. valuesleaf valuesMethods in org.apache.lucene.index that return SortedDocValues Modifier and Type Method Description static SortedDocValuesDocValues. emptySorted()An empty SortedDocValues which returnsBytesRef.EMPTY_BYTESfor every documentstatic SortedDocValuesDocValues. getSorted(LeafReader reader, String field)Returns SortedDocValues for the field, orDocValues.emptySorted()if it has none.SortedDocValuesEmptyDocValuesProducer. getSorted(FieldInfo field)SortedDocValuesCodecReader. getSortedDocValues(String field)SortedDocValuesFilterLeafReader. getSortedDocValues(String field)abstract SortedDocValuesLeafReader. getSortedDocValues(String field)ReturnsSortedDocValuesfor this field, or null if noSortedDocValueswere indexed for this field.SortedDocValuesParallelLeafReader. 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 SortedDocValues Modifier and Type Method Description static 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 SortedDocValues Constructor Description MultiSortedDocValues(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 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
-