Class SpellCheckProperties
java.lang.Object
com.broadleafcommerce.search.core.spellcheck.SpellCheckProperties
@ConfigurationProperties("broadleaf.search.spell-check")
public class SpellCheckProperties
extends Object
A container holding individual
IndexableSpellCheckProperties
for indexable types.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getSpellCheckProperties
(com.broadleafcommerce.search.api.type.IndexableType indexableType) Returns the spell check configuration for the indexable type.getSpellCheckProperties
(String indexableType) Returns the spell check configuration for the indexable type.int
hashCode()
void
setConfig
(Map<String, IndexableSpellCheckProperties> config) toString()
-
Constructor Details
-
SpellCheckProperties
public SpellCheckProperties()
-
-
Method Details
-
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:
-
getSpellCheckProperties
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:
-
getConfig
-
setConfig
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-