Package org.hibernate.search.query.facet
Interface Facet
- All Known Subinterfaces:
RangeFacet<T>
Deprecated.
A single facet (field value and count).
- Author:
- Hardy Ferentschik
-
Method Details
-
getFacetingName
String getFacetingName()Deprecated.- Returns:
- the faceting name this
Facetbelongs to. - See Also:
-
getFieldName
String getFieldName()Deprecated.Return theDocumentfield name this facet is targeting. The field needs to be indexed withAnalyze.NO.- Returns:
- the
Documentfield name this facet is targeting.
-
getValue
String getValue()Deprecated.- Returns:
- the value of this facet. In case of a discrete facet it is the actual
Documentfield value. In case of a range query the value is a string representation of the range.
-
getCount
int getCount()Deprecated.- Returns:
- the facet count.
-
FacetContext.