Package org.alfresco.search.model
Class RequestFacetField
java.lang.Object
org.alfresco.search.model.RequestFacetField
A simple facet field
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumGets or Sets methodstatic enumGets or Sets sort -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddExcludeFiltersItem(String excludeFiltersItem) booleanexcludeFilters(List<String> excludeFilters) facetEnumCacheMinDf(Integer facetEnumCacheMinDf) Filter Queries with tags listed here will not be included in facet counts.Get facetEnumCacheMinDfgetField()The facet fieldgetLabel()A label to include in place of the facet fieldgetLimit()Get limitGet methodThe minimum count required for a facet field to be included in the response.Get offsetRestricts the possible constraints to only indexed values with a specified prefix.getSort()Get sortinthashCode()When true, count results that match the query but which have no facet value for the field (in addition to the Term-based constraints).method(RequestFacetField.MethodEnum method) voidsetExcludeFilters(List<String> excludeFilters) voidsetFacetEnumCacheMinDf(Integer facetEnumCacheMinDf) voidvoidvoidvoidvoidsetMincount(Integer mincount) voidsetMissing(Boolean missing) voidvoidvoidtoString()
-
Constructor Details
-
RequestFacetField
public RequestFacetField()
-
-
Method Details
-
field
-
getField
The facet field- Returns:
- field
-
setField
-
label
-
getLabel
A label to include in place of the facet field- Returns:
- label
-
setLabel
-
prefix
-
getPrefix
Restricts the possible constraints to only indexed values with a specified prefix.- Returns:
- prefix
-
setPrefix
-
sort
-
getSort
Get sort- Returns:
- sort
-
setSort
-
method
-
getMethod
Get method- Returns:
- method
-
setMethod
-
missing
-
isMissing
When true, count results that match the query but which have no facet value for the field (in addition to the Term-based constraints).- Returns:
- missing
-
setMissing
-
limit
-
getLimit
Get limit- Returns:
- limit
-
setLimit
-
offset
-
getOffset
Get offset- Returns:
- offset
-
setOffset
-
mincount
-
getMincount
The minimum count required for a facet field to be included in the response.- Returns:
- mincount
-
setMincount
-
facetEnumCacheMinDf
-
getFacetEnumCacheMinDf
Get facetEnumCacheMinDf- Returns:
- facetEnumCacheMinDf
-
setFacetEnumCacheMinDf
-
excludeFilters
-
addExcludeFiltersItem
-
getExcludeFilters
Filter Queries with tags listed here will not be included in facet counts. This is used for multi-select facetting.- Returns:
- excludeFilters
-
setExcludeFilters
-
equals
-
hashCode
public int hashCode() -
toString
-