Class SynonymProperties.LoadSynonymProperty
java.lang.Object
com.broadleafcommerce.search.core.service.SynonymProperties.LoadSynonymProperty
- Enclosing class:
- SynonymProperties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe aliases to target when loading synonymsThe target language (english, spanish, french, arabic, etc.).The synonym fileinthashCode()booleanFail on error when loading synonyms.booleanForce load the synonyms even if there is existing synonym data in Solr.voidsetAliases(List<String> aliases) The aliases to target when loading synonymsvoidsetFailOnError(boolean failOnError) Fail on error when loading synonyms.voidsetForceLoad(boolean forceLoad) Force load the synonyms even if there is existing synonym data in Solr.voidsetLanguage(String language) The target language (english, spanish, french, arabic, etc.).voidsetSynonymFile(String synonymFile) The synonym filetoString()
-
Constructor Details
-
LoadSynonymProperty
public LoadSynonymProperty()
-
-
Method Details
-
getAliases
The aliases to target when loading synonyms -
getSynonymFile
The synonym file -
getLanguage
The target language (english, spanish, french, arabic, etc.). This should match a name of a managed language in the search engine. SeeSynonymProperties.managedLanguagesandManagedLanguage.getLanguage(). -
isForceLoad
public boolean isForceLoad()Force load the synonyms even if there is existing synonym data in Solr. Default is false. -
isFailOnError
public boolean isFailOnError()Fail on error when loading synonyms. Default is true. -
setAliases
The aliases to target when loading synonyms -
setSynonymFile
The synonym file -
setLanguage
The target language (english, spanish, french, arabic, etc.). This should match a name of a managed language in the search engine. SeeSynonymProperties.managedLanguagesandManagedLanguage.getLanguage(). -
setForceLoad
public void setForceLoad(boolean forceLoad) Force load the synonyms even if there is existing synonym data in Solr. Default is false. -
setFailOnError
public void setFailOnError(boolean failOnError) Fail on error when loading synonyms. Default is true. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-