Class SolrSearchBoostProperties
- java.lang.Object
-
- com.broadleafcommerce.search.provider.solr.autoconfiguration.SolrSearchBoostProperties
-
@ConfigurationProperties(prefix="broadleaf.search.solr.boost") public class SolrSearchBoostProperties extends Object
Properties for Solr search boosting.
-
-
Constructor Summary
Constructors Constructor Description SolrSearchBoostProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)DoublegetPhraseBoost()Boost which should be applied on phrase query type matches.DoublegetPhraseExactBoost()Boost which should be applied on exact phrase query type matches.intgetPhraseSlop()Slop which should be applied on phrase query type matches.DoublegetWordBoost()Boost which should be applied on word query type matches.inthashCode()voidsetPhraseBoost(Double phraseBoost)Boost which should be applied on phrase query type matches.voidsetPhraseExactBoost(Double phraseExactBoost)Boost which should be applied on exact phrase query type matches.voidsetPhraseSlop(int phraseSlop)Slop which should be applied on phrase query type matches.voidsetWordBoost(Double wordBoost)Boost which should be applied on word query type matches.StringtoString()
-
-
-
Method Detail
-
getWordBoost
public Double getWordBoost()
Boost which should be applied on word query type matches.- Returns:
- amount to boost word query type matches
-
getPhraseBoost
public Double getPhraseBoost()
Boost which should be applied on phrase query type matches.- Returns:
- amount to boost phrase query type matches
-
getPhraseSlop
public int getPhraseSlop()
Slop which should be applied on phrase query type matches.Slop describes the number of terms allowed between words from the query and still recognize a match.
- Returns:
- amount of slop for phrase query type matches
-
getPhraseExactBoost
public Double getPhraseExactBoost()
Boost which should be applied on exact phrase query type matches.- Returns:
- amount to exact phrase word query type matches
-
setWordBoost
public void setWordBoost(Double wordBoost)
Boost which should be applied on word query type matches.- Parameters:
wordBoost- amount to boost word query type matches
-
setPhraseBoost
public void setPhraseBoost(Double phraseBoost)
Boost which should be applied on phrase query type matches.- Parameters:
phraseBoost- amount to boost phrase query type matches
-
setPhraseSlop
public void setPhraseSlop(int phraseSlop)
Slop which should be applied on phrase query type matches.Slop describes the number of terms allowed between words from the query and still recognize a match.
- Parameters:
phraseSlop- amount of slop for phrase query type matches
-
setPhraseExactBoost
public void setPhraseExactBoost(Double phraseExactBoost)
Boost which should be applied on exact phrase query type matches.- Parameters:
phraseExactBoost- amount to boost exact phrase query type matches
-
canEqual
protected boolean canEqual(Object other)
-
-