Uses of Interface
org.apache.lucene.sandbox.facet.iterators.ComparableSupplier
-
Packages that use ComparableSupplier Package Description org.apache.lucene.sandbox.facet Sandbox faceting - Collectors that compute facets.org.apache.lucene.sandbox.facet.iterators Sandbox faceting: facet ordinals. -
-
Uses of ComparableSupplier in org.apache.lucene.sandbox.facet
Methods in org.apache.lucene.sandbox.facet that return ComparableSupplier Modifier and Type Method Description static ComparableSupplier<ComparableUtils.ByAggregatedValueComparable>ComparableUtils. byAggregatedValue(CountFacetRecorder countRecorder, LongAggregationsFacetRecorder longAggregationsFacetRecorder, int aggregationId)ComparableSupplierto sort ordinals by long aggregation (descending) with tie-break by count (descending) or by ordinal (ascending) using providedCountFacetRecorderandLongAggregationsFacetRecorder.static ComparableSupplier<ComparableUtils.ByCountComparable>ComparableUtils. byCount(CountFacetRecorder recorder)ComparableSupplierto sort ordinals by count (descending) with ord as a tie-break (ascending) using providedCountFacetRecorder.static ComparableSupplier<ComparableUtils.ByCountAndLongValueComparable>ComparableUtils. byCount(CountFacetRecorder countFacetRecorder, LongValueFacetCutter longValueFacetCutter)ComparableSupplierto sort ordinals by count (descending) fromCountFacetRecorderwith tie-break by long value (ascending) fromLongValueFacetCutter.static ComparableSupplier<ComparableUtils.ByLongValueComparable>ComparableUtils. byLongValue(LongValueFacetCutter longValueFacetCutter)ComparableSupplierto sort ordinals by long value fromLongValueFacetCutter(descending).static ComparableSupplier<ComparableUtils.ByOrdinalComparable>ComparableUtils. byOrdinal()ComparableSupplierto sort by ords (ascending).Methods in org.apache.lucene.sandbox.facet with parameters of type ComparableSupplier Modifier and Type Method Description static <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 ComparableSupplier Constructor Description TopnOrdinalIterator(OrdinalIterator sourceOrds, ComparableSupplier<T> comparableSupplier, int topN)Constructor.
-