public interface FacetManager
Modifier and Type | Method and Description |
---|---|
void |
disableFaceting(String facetingName)
Disable a facet with the given name.
|
FacetManager |
enableFaceting(FacetingRequest facetingRequest)
Enable a facet request.
|
FacetSelection |
getFacetGroup(String groupName)
Returns a instance of
FacetSelection instance in order to apply a disjunction of facet criteria on
the current query. |
List<Facet> |
getFacets(String facetingName)
Returns the
Facet s for a given facet name |
FacetManager enableFaceting(FacetingRequest facetingRequest)
facetingRequest
- the faceting requestthis
to allow method chainingvoid disableFaceting(String facetingName)
facetingName
- the name of the facet to disable.List<Facet> getFacets(String facetingName)
Facet
s for a given facet namefacetingName
- the facet name for which to return the facet listenableFaceting(org.hibernate.search.query.facet.FacetingRequest)
FacetSelection getFacetGroup(String groupName)
FacetSelection
instance in order to apply a disjunction of facet criteria on
the current query.groupName
- the name the group. If the name is unknown an empty selection group is returned. null
is not allowed.FacetSelection
for this group name if it exists., otherwise a new selection is created.Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved