java.lang.Object
org.hibernate.search.backend.lucene.lowlevel.facet.impl.FacetCountsUtils

public class FacetCountsUtils extends Object
  • 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)