Class SpellCheckProperties
- java.lang.Object
-
- com.broadleafcommerce.search.core.spellcheck.SpellCheckProperties
-
@ConfigurationProperties("broadleaf.search.spell-check") public class SpellCheckProperties extends ObjectA container holding individualIndexableSpellCheckPropertiesfor indexable types.
-
-
Constructor Summary
Constructors Constructor Description SpellCheckProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)Map<String,IndexableSpellCheckProperties>getConfig()IndexableSpellCheckPropertiesgetSpellCheckProperties(com.broadleafcommerce.search.api.type.IndexableType indexableType)Returns the spell check configuration for the indexable type.IndexableSpellCheckPropertiesgetSpellCheckProperties(String indexableType)Returns the spell check configuration for the indexable type.inthashCode()voidsetConfig(Map<String,IndexableSpellCheckProperties> config)StringtoString()
-
-
-
Method Detail
-
getSpellCheckProperties
public IndexableSpellCheckProperties getSpellCheckProperties(com.broadleafcommerce.search.api.type.IndexableType indexableType)
Returns the spell check configuration for the indexable type.- Parameters:
indexableType- The indexable type- Returns:
- The spellcheck configuration for the type, or the default configuration.
- See Also:
IndexableSpellCheckProperties
-
getSpellCheckProperties
public IndexableSpellCheckProperties getSpellCheckProperties(@Nullable String indexableType)
Returns the spell check configuration for the indexable type.- Parameters:
indexableType- The indexable type- Returns:
- The spellcheck configuration for the type, or the default configuration.
- See Also:
IndexableSpellCheckProperties
-
getConfig
public Map<String,IndexableSpellCheckProperties> getConfig()
-
setConfig
public void setConfig(Map<String,IndexableSpellCheckProperties> config)
-
canEqual
protected boolean canEqual(Object other)
-
-