public abstract class BaseFacet extends Object implements Facet
Constructor and Description |
---|
BaseFacet(SearchContext searchContext) |
Modifier and Type | Method and Description |
---|---|
protected BooleanClause<Query> |
doGetFacetClause()
Deprecated.
As of Wilberforce (7.0.x), replaced by
doGetFacetFilterBooleanClause() |
protected abstract BooleanClause<Filter> |
doGetFacetFilterBooleanClause() |
BooleanClause<Query> |
getFacetClause()
Deprecated.
As of Wilberforce (7.0.x), replaced by
getFacetFilterBooleanClause() |
FacetCollector |
getFacetCollector() |
FacetConfiguration |
getFacetConfiguration() |
BooleanClause<Filter> |
getFacetFilterBooleanClause() |
FacetValueValidator |
getFacetValueValidator() |
String |
getFieldId() |
String |
getFieldName() |
SearchContext |
getSearchContext() |
boolean |
isStatic() |
void |
setFacetCollector(FacetCollector facetCollector) |
void |
setFacetConfiguration(FacetConfiguration facetConfiguration) |
void |
setFacetValueValidator(FacetValueValidator facetValueValidator) |
void |
setFieldName(String fieldName) |
void |
setStatic(boolean isStatic) |
public BaseFacet(SearchContext searchContext)
@Deprecated public BooleanClause<Query> getFacetClause()
getFacetFilterBooleanClause()
getFacetClause
in interface Facet
public FacetCollector getFacetCollector()
getFacetCollector
in interface Facet
public FacetConfiguration getFacetConfiguration()
getFacetConfiguration
in interface Facet
public BooleanClause<Filter> getFacetFilterBooleanClause()
getFacetFilterBooleanClause
in interface Facet
public FacetValueValidator getFacetValueValidator()
getFacetValueValidator
in interface Facet
public String getFieldId()
getFieldId
in interface Facet
public String getFieldName()
getFieldName
in interface Facet
public SearchContext getSearchContext()
getSearchContext
in interface Facet
public void setFacetCollector(FacetCollector facetCollector)
setFacetCollector
in interface Facet
public void setFacetConfiguration(FacetConfiguration facetConfiguration)
setFacetConfiguration
in interface Facet
public void setFacetValueValidator(FacetValueValidator facetValueValidator)
setFacetValueValidator
in interface Facet
public void setFieldName(String fieldName)
setFieldName
in interface Facet
@Deprecated protected BooleanClause<Query> doGetFacetClause()
doGetFacetFilterBooleanClause()
protected abstract BooleanClause<Filter> doGetFacetFilterBooleanClause()