Class SynonymProperties.LoadSynonymProperty

java.lang.Object
com.broadleafcommerce.search.core.service.SynonymProperties.LoadSynonymProperty
Enclosing class:
SynonymProperties

public static class SynonymProperties.LoadSynonymProperty extends Object
  • Constructor Details

    • LoadSynonymProperty

      public LoadSynonymProperty()
  • Method Details

    • getAliases

      public List<String> getAliases()
      The aliases to target when loading synonyms
    • getSynonymFile

      public String getSynonymFile()
      The synonym file
    • getLanguage

      public String getLanguage()
      The target language (english, spanish, french, arabic, etc.). This should match a name of a managed language in the search engine. See SynonymProperties.managedLanguages and ManagedLanguage.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

      public void setAliases(List<String> aliases)
      The aliases to target when loading synonyms
    • setSynonymFile

      public void setSynonymFile(String synonymFile)
      The synonym file
    • setLanguage

      public void setLanguage(String language)
      The target language (english, spanish, french, arabic, etc.). This should match a name of a managed language in the search engine. See SynonymProperties.managedLanguages and ManagedLanguage.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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object