/** * Creates a LongValuesSource that wraps an int-valued field */ public static LongValuesSource fromIntField(String field) { return fromLongField(field); }
/** * Creates a LongValuesSource that wraps an int-valued field */ public static LongValuesSource fromIntField(String field) { return fromLongField(field); }
/** Create {@code LongRangeFacetCounts}, using {@link * LongValuesSource} from the specified field. */ public LongRangeFacetCounts(String field, FacetsCollector hits, LongRange... ranges) throws IOException { this(field, LongValuesSource.fromLongField(field), hits, ranges); }