Package org.apache.lucene.facet.range
Class DynamicRangeUtil.DynamicRangeInfo
- java.lang.Object
-
- org.apache.lucene.facet.range.DynamicRangeUtil.DynamicRangeInfo
-
- Enclosing class:
- DynamicRangeUtil
public static class DynamicRangeUtil.DynamicRangeInfo extends Object
Holds parameters of a dynamic numeric range.
-
-
Constructor Summary
Constructors Constructor Description DynamicRangeInfo(int count, long weight, long min, long max, double centroid)
All args constructor
-
-
-
Field Detail
-
count
public int count
the number of items in the range
-
weight
public long weight
the summed weight of the items in the range
-
min
public long min
the lower bound of the range (inclusive)
-
max
public long max
upper bound of the range (inclusive)
-
centroid
public double centroid
the average value in the range
-
-