Package org.hibernate.search.query.dsl
Interface FacetParameterContext
- All Superinterfaces:
FacetTermination
- All Known Subinterfaces:
DiscreteFacetContext,FacetRangeAboveContext<T>,FacetRangeBelowContinuationContext<T>,FacetRangeEndContext<T>
- All Known Implementing Classes:
ConnectedDiscreteFacetContext,ConnectedFacetParameterContext,ConnectedFacetRangeAboveContext,ConnectedFacetRangeBelowContinuationContext,ConnectedFacetRangeEndContext
-
Method Summary
Modifier and TypeMethodDescriptionincludeZeroCounts(boolean zeroCounts) maxFacetCount(int maxFacetCount) Limits the maximum numbers of facets to the specified number.orderedBy(FacetSortOrder sort) Methods inherited from interface org.hibernate.search.query.dsl.FacetTermination
createFacetingRequest
-
Method Details
-
orderedBy
- Parameters:
sort- the sort order for the returned facets.- Returns:
- a
FacetParameterContextto continue building the facet request
-
includeZeroCounts
- Parameters:
zeroCounts- Determines whether values with zero counts are included into the facet result- Returns:
- a
FacetParameterContextto continue building the facet request
-
maxFacetCount
Limits the maximum numbers of facets to the specified number.- Parameters:
maxFacetCount- the maximum number of facets to include in the response. A negative value means that all facets will be included- Returns:
- a
FacetParameterContextto continue building the facet request
-