Package org.hibernate.search.query.facet
Interface Facet
-
- All Known Subinterfaces:
RangeFacet<T>
@Deprecated public interface Facet
Deprecated.See the deprecation note onFacetContext.A single facet (field value and count).- Author:
- Hardy Ferentschik
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description intgetCount()Deprecated.StringgetFacetingName()Deprecated.StringgetFieldName()Deprecated.Return theDocumentfield name this facet is targeting.StringgetValue()Deprecated.
-
-
-
Method Detail
-
getFacetingName
String getFacetingName()
Deprecated.- Returns:
- the faceting name this
Facetbelongs to. - See Also:
FacetingRequest.getFacetingName()
-
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.
-
-