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 boolean
canEqual(Object other)
boolean
equals(Object o)
Double
getPhraseBoost()
Boost which should be applied on phrase query type matches.Double
getPhraseExactBoost()
Boost which should be applied on exact phrase query type matches.int
getPhraseSlop()
Slop which should be applied on phrase query type matches.Double
getWordBoost()
Boost which should be applied on word query type matches.int
hashCode()
void
setPhraseBoost(Double phraseBoost)
Boost which should be applied on phrase query type matches.void
setPhraseExactBoost(Double phraseExactBoost)
Boost which should be applied on exact phrase query type matches.void
setPhraseSlop(int phraseSlop)
Slop which should be applied on phrase query type matches.void
setWordBoost(Double wordBoost)
Boost which should be applied on word query type matches.String
toString()
-
-
-
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)
-
-