public class FacetField extends DslCloneable
Modifier and Type | Class and Description |
---|---|
static class |
FacetField.Sort |
Constructor and Description |
---|
FacetField(String field,
String prefix,
FacetField.Sort sort,
Integer limit,
Integer offset,
Integer minCount,
Boolean missing,
List<String> ensuredValues) |
Modifier and Type | Method and Description |
---|---|
FacetField |
clone() |
List<String> |
getEnsuredValues() |
String |
getField() |
String |
getFieldWithoutParams() |
Integer |
getLimit() |
Integer |
getMinCount() |
Boolean |
getMissing() |
Integer |
getOffset() |
String |
getPrefix() |
FacetField.Sort |
getSort() |
clone, deepClone
public String getField()
public String getFieldWithoutParams()
public String getPrefix()
public FacetField.Sort getSort()
public Integer getLimit()
public Integer getOffset()
public Integer getMinCount()
public Boolean getMissing()
public List<String> getEnsuredValues()
Field facets only return getLimit()
distinct values for the field in question. Other values are
unrepresented in the field facet. Users who want to ensure that specific values are included can specify those
values here. This guarantees that they appear as a value in the field facet, even if they have a low or zero count.
public FacetField clone()
clone
in class DslCloneable