Class FacetCountsUtils


  • public class FacetCountsUtils
    extends Object
    • Method Detail

      • 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)