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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
WhetherSearchSettings
features will be used.void
setEnabled
(boolean enabled) WhetherSearchSettings
features will be used.
-
Constructor Details
-
SearchSettingsProperties
public SearchSettingsProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled()WhetherSearchSettings
features will be used. With it enabled,Facets
andSortOptions
are separated fromFieldDefinitions
and associated withSearchSettings
for each application viaFacetGroups
andSortGroups
. If disabled, then facets and sorts are managed through fields and are the same for every application. -
setEnabled
public void setEnabled(boolean enabled) WhetherSearchSettings
features will be used. With it enabled,Facets
andSortOptions
are separated fromFieldDefinitions
and associated withSearchSettings
for each application viaFacetGroups
andSortGroups
. If disabled, then facets and sorts are managed through fields and are the same for every application.
-