Package org.hibernate.search.query.facet
Interface FacetingRequest
- All Known Implementing Classes:
DiscreteFacetRequest,FacetingRequestImpl,RangeFacetRequest
public interface FacetingRequest
Faceting request interface.
-
Method Summary
-
Method Details
-
getFacetingName
String getFacetingName()- Returns:
- the name of this faceting request. The faceting name can be an arbitrary string.
-
getFieldName
String getFieldName()- Returns:
- the
Documentfield name on which this faceting request is defined on
-
getSort
FacetSortOrder getSort()- Returns:
- the sort order of the returned
Facets for this request
-
getMaxNumberOfFacets
int getMaxNumberOfFacets()- Returns:
- the maximum number of facets returned for this request
-
hasZeroCountsIncluded
boolean hasZeroCountsIncluded()- Returns:
trueif facets with a count of 0 should be included in the returned facet list
-