Module org.apache.lucene.facet
Package org.apache.lucene.facet.range
Class DynamicRangeUtil.DynamicRangeInfo
java.lang.Object
org.apache.lucene.facet.range.DynamicRangeUtil.DynamicRangeInfo
- Enclosing class:
DynamicRangeUtil
Holds parameters of a dynamic numeric range.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDynamicRangeInfo
(int count, long weight, long min, long max, double centroid) All args constructor -
Method Summary
-
Field Details
-
count
public int countthe number of items in the range -
weight
public long weightthe summed weight of the items in the range -
min
public long minthe lower bound of the range (inclusive) -
max
public long maxupper bound of the range (inclusive) -
centroid
public double centroidthe average value in the range
-
-
Constructor Details
-
DynamicRangeInfo
public DynamicRangeInfo(int count, long weight, long min, long max, double centroid) All args constructor
-
-
Method Details