Class DoubleRange
java.lang.Object
org.apache.lucene.facet.rangeonrange.Range
org.apache.lucene.facet.rangeonrange.DoubleRange
Represents a double range for RangeOnRange faceting
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal double[]Maximum (inclusive).final double[]Minimum (inclusive). -
Constructor Summary
ConstructorsConstructorDescriptionDoubleRange(String label, double[] min, double[] max) Represents a double range for RangeOnRange facetingDoubleRange(String label, double minIn, boolean minInclusive, double maxIn, boolean maxInclusive) Represents a double range for RangeOnRange faceting -
Method Summary
Methods inherited from class org.apache.lucene.facet.rangeonrange.Range
failNoMatch, getLabelsFromRanges
-
Field Details
-
min
public final double[] minMinimum (inclusive). -
max
public final double[] maxMaximum (inclusive).
-
-
Constructor Details
-
DoubleRange
public DoubleRange(String label, double minIn, boolean minInclusive, double maxIn, boolean maxInclusive) Represents a double range for RangeOnRange faceting- Parameters:
label- the name of the rangeminIn- the minimumminInclusive- if the minimum is inclusivemaxIn- the maximummaxInclusive- if the maximum is inclusive
-
DoubleRange
Represents a double range for RangeOnRange faceting- Parameters:
label- the name of the rangemin- the minimum, inclusivemax- the maximum, inclusive
-
-
Method Details