Package org.hibernate.search.query.facet
Interface FacetSelection
public interface FacetSelection
Groups a set of
Facet to be applied onto a query.
The facet criteria within a FacetSelection are combined in a disjunction (logical OR).-
Method Summary
Modifier and TypeMethodDescriptionvoidClear all facets in this selectionvoiddeselectFacets(Facet... facets) voidselectFacets(Facet... facets)
-
Method Details
-
selectFacets
- Parameters:
facets- An array of facets which have to be applied as disjunction onto the current query
-
getSelectedFacets
- Returns:
- returns an unmodifiable list of the currently selected facets
-
deselectFacets
- Parameters:
facets- An array of facets to e removed from the current facet. Facets which were not part of this selection will be ignored.
-
clearSelectedFacets
void clearSelectedFacets()Clear all facets in this selection
-