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.org.apache.lucene.search.comparators Comparators, used to compare hits so as to determine their sort order when collecting the top results withTopFieldCollector. -
-
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. -
Uses of SortedDocValues in org.apache.lucene.index
Subclasses of SortedDocValues in org.apache.lucene.index Modifier and Type Class Description classFilterSortedDocValuesDelegates all methods to a wrappedSortedDocValues.static classMultiDocValues.MultiSortedDocValuesImplements SortedDocValues over n subs, using an OrdinalMapFields in org.apache.lucene.index declared as SortedDocValues Modifier and Type Field Description protected SortedDocValuesFilterSortedDocValues. inWrapped valuesSortedDocValues[]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 documentSortedDocValuesIndexSorter.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.SortedDocValuesEmptyDocValuesProducer. getSorted(FieldInfo field)SortedDocValuesCodecReader. getSortedDocValues(String field)SortedDocValuesExitableDirectoryReader.ExitableFilterAtomicReader. 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 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 static SortedDocValuesSortedSetSelector. 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 SortedDocValues Modifier and Type Method Description protected SortedDocValuesTermOrdValComparator. getSortedDocValues(LeafReaderContext context, String field)Retrieves the SortedDocValues for the field in this segment
-