Uses of Interface
org.apache.lucene.sandbox.facet.iterators.ComparableSupplier
Packages that use ComparableSupplier
Package
Description
Sandbox faceting - Collectors that compute facets.
Sandbox faceting: facet ordinals.
-
Uses of ComparableSupplier in org.apache.lucene.sandbox.facet
Methods in org.apache.lucene.sandbox.facet that return ComparableSupplierModifier and TypeMethodDescriptionComparableUtils.byAggregatedValue
(CountFacetRecorder countRecorder, LongAggregationsFacetRecorder longAggregationsFacetRecorder, int aggregationId) ComparableSupplier
to sort ordinals by long aggregation (descending) with tie-break by count (descending) or by ordinal (ascending) using providedCountFacetRecorder
andLongAggregationsFacetRecorder
.ComparableUtils.byCount
(CountFacetRecorder recorder) ComparableSupplier
to sort ordinals by count (descending) with ord as a tie-break (ascending) using providedCountFacetRecorder
.ComparableUtils.byCount
(CountFacetRecorder countFacetRecorder, LongValueFacetCutter longValueFacetCutter) ComparableSupplier
to sort ordinals by count (descending) fromCountFacetRecorder
with tie-break by long value (ascending) fromLongValueFacetCutter
.ComparableUtils.byLongValue
(LongValueFacetCutter longValueFacetCutter) ComparableSupplier
to sort ordinals by long value fromLongValueFacetCutter
(descending).ComparableUtils.byOrdinal()
ComparableSupplier
to sort by ords (ascending).Methods in org.apache.lucene.sandbox.facet with parameters of type ComparableSupplierModifier and TypeMethodDescriptionstatic <T extends Comparable<T>>
voidComparableUtils.sort
(int[] ordinals, ComparableSupplier<T> comparableSupplier) Sort array of ordinals. -
Uses of ComparableSupplier in org.apache.lucene.sandbox.facet.iterators
Constructors in org.apache.lucene.sandbox.facet.iterators with parameters of type ComparableSupplierModifierConstructorDescriptionTopnOrdinalIterator
(OrdinalIterator sourceOrds, ComparableSupplier<T> comparableSupplier, int topN) Constructor.