Interface Facet
-
- All Known Implementing Classes:
SearchRangeFacet,ValueFacet
public interface FacetRepresents a facet in the search request
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetFieldName()The field from your schema upon which to apply your facet.StringgetName()Name given to the facetFacetTypegetType()Type of facetFacetsetFieldName(String fieldName)Set the field upon which to apply your facet.
-
-
-
Method Detail
-
getFieldName
String getFieldName()
The field from your schema upon which to apply your facet.- Returns:
- The field name
-
setFieldName
Facet setFieldName(String fieldName)
Set the field upon which to apply your facet.- Parameters:
fieldName- The name of the field- Returns:
- The Facet
-
getType
FacetType getType()
Type of facet- Returns:
- The facet type
-
getName
String getName()
Name given to the facet- Returns:
- the facet name
-
-