Class FacetCountsUtils
java.lang.Object
org.hibernate.search.backend.lucene.lowlevel.facet.impl.FacetCountsUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> org.apache.lucene.facet.range.LongRange[]createLongRangesForFloatingPointValues(Collection<? extends Range<? extends T>> ranges, ToLongFunction<T> encoder, T negativeInfinity, T positiveInfinity) static <T extends Number>
org.apache.lucene.facet.range.LongRange[]createLongRangesForIntegralValues(Collection<? extends Range<? extends T>> ranges)
-
Method Details
-
createLongRangesForIntegralValues
public static <T extends Number> org.apache.lucene.facet.range.LongRange[] createLongRangesForIntegralValues(Collection<? extends Range<? extends T>> ranges) -
createLongRangesForFloatingPointValues
public static <T> org.apache.lucene.facet.range.LongRange[] createLongRangesForFloatingPointValues(Collection<? extends Range<? extends T>> ranges, ToLongFunction<T> encoder, T negativeInfinity, T positiveInfinity)
-