org.hibernate.search.query.facet
Interface FacetingRequest
- All Known Implementing Classes:
- DiscreteFacetRequest, FacetingRequestImpl, RangeFacetRequest
public interface FacetingRequest
Faceting request interface.
- Author:
- Hardy Ferentschik
getFacetingName
String getFacetingName()
- Returns:
- the name of this faceting request. The faceting name can be an arbitrary string.
getFieldName
String getFieldName()
- Returns:
- the
Document
field name on which this faceting request is defined on
getSort
FacetSortOrder getSort()
- Returns:
- the sort order of the returned
Facet
s for this request
getMaxNumberOfFacets
int getMaxNumberOfFacets()
- Returns:
- the maximum number of facets returned for this request
hasZeroCountsIncluded
boolean hasZeroCountsIncluded()
- Returns:
true
if facets with a count of 0 should be included in the returned facet list
Copyright © 2006-2012 Red Hat Middleware, LLC. All Rights Reserved