public class FieldFacets extends DslBase implements LabeledFacet
Constructor and Description |
---|
FieldFacets(Integer missing,
List<FieldCount> counts,
String label) |
Modifier and Type | Method and Description |
---|---|
List<FieldCount> |
getCounts() |
String |
getLabel()
display name for this facet, defaults to the field name, can be overridden by SetFacetsRule
|
Integer |
getMissing() |
void |
setCounts(List<FieldCount> counts) |
void |
setLabel(String label) |
public FieldFacets(Integer missing, List<FieldCount> counts, String label)
public Integer getMissing()
public List<FieldCount> getCounts()
public String getLabel()
getLabel
in interface LabeledFacet
public void setLabel(String label)
setLabel
in interface LabeledFacet
public void setCounts(List<FieldCount> counts)