Package org.apache.lucene.facet
Class LabelAndValue
java.lang.Object
org.apache.lucene.facet.LabelAndValue
Single label and its value, usually contained in a
FacetResult
.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLabelAndValue
(String label, Number value) Constructor with unspecified count, we assume the value is a count.LabelAndValue
(String label, Number value, int count) Constructor with value and count. -
Method Summary
-
Field Details
-
label
Facet's label. -
value
Value associated with this label. -
count
public final int countNumber of occurrences for this label.
-
-
Constructor Details
-
LabelAndValue
Constructor with unspecified count, we assume the value is a count. -
LabelAndValue
Constructor with value and count.
-
-
Method Details