Package org.hibernate.search.query.dsl
Interface FacetContext
-
@Deprecated public interface FacetContext
Deprecated.Instead of using Hibernate Search 5 APIs, get aorg.hibernate.search.mapper.orm.session.SearchSessionusingorg.hibernate.search.mapper.orm.Search#session(org.hibernate.Session), create aSearchQuerywithorg.hibernate.search.mapper.orm.session.SearchSession#search(Class), and define your facets (now called aggregations) usingSearchQueryOptionsStep.aggregation(AggregationKey, Function). You can then fetch the query result usingSearchFetchable.fetch(Integer)and get each aggregation usingSearchResult.aggregation(AggregationKey). Refer to the migration guide for more information.- Author:
- Hardy Ferentschik
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description FacetFieldContextname(String name)Deprecated.
-
-
-
Method Detail
-
name
FacetFieldContext name(String name)
Deprecated.- Parameters:
name- the name for this facet request- Returns:
- a
FacetFieldContextto continue building the facet request
-
-