Class SearchSettingsProperties
java.lang.Object
com.broadleafcommerce.search.autoconfigure.SearchSettingsProperties
@ConfigurationProperties("broadleaf.search.settings")
public class SearchSettingsProperties
extends Object
Properties for configuring
SearchSettings and whether they are in use.- Since:
- 2.1.0-GA
- Author:
- Nathan Moore (nathandmoore)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhetherSearchSettingsfeatures will be used.voidsetEnabled(boolean enabled) WhetherSearchSettingsfeatures will be used.
-
Constructor Details
-
SearchSettingsProperties
public SearchSettingsProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled()WhetherSearchSettingsfeatures will be used. With it enabled,FacetsandSortOptionsare separated fromFieldDefinitionsand associated withSearchSettingsfor each application viaFacetGroupsandSortGroups. If disabled, then facets and sorts are managed through fields and are the same for every application. -
setEnabled
public void setEnabled(boolean enabled) WhetherSearchSettingsfeatures will be used. With it enabled,FacetsandSortOptionsare separated fromFieldDefinitionsand associated withSearchSettingsfor each application viaFacetGroupsandSortGroups. If disabled, then facets and sorts are managed through fields and are the same for every application.
-