public interface BoostRule extends Serializable
| Modifier and Type | Method and Description |
|---|---|
Date |
getActiveEndDate() |
Date |
getActiveStartDate() |
BigDecimal |
getBoost() |
Boolean |
getDescending()
This flag decides whether or not a RELATIVE/ORDINAL BoostRule boosts results by highest or lowest value
Only set for BoostRuleType.RELATIVE/ORDINAL
|
Long |
getId() |
org.broadleafcommerce.core.search.domain.IndexFieldType |
getIndexFieldType() |
String |
getMatchValue()
This value is used by MATCHING_VALUE BoostRule to get the matching value for this SearchFieldType in the boost query.
|
BigDecimal |
getMinimumScore()
This returns the minimum possible score for this boost rule.
|
String |
getName()
This returns the name that describes this rule.
|
String |
getSearchTermQualifierRegex() |
BoostRuleType |
getType()
This determines how we apply this BoostRule.
|
boolean |
isActive() |
void |
setActiveEndDate(Date activeEndDate) |
void |
setActiveStartDate(Date activeStartDate) |
void |
setBoost(BigDecimal boost) |
void |
setDescending(Boolean descending) |
void |
setId(Long id) |
void |
setIndexFieldType(org.broadleafcommerce.core.search.domain.IndexFieldType indexFieldType) |
void |
setMatchValue(String matchValue) |
void |
setMinimumScore(BigDecimal minimumScore) |
void |
setName(String name) |
void |
setSearchTermQualifierRegex(String searchTermQualifierRegex) |
void |
setType(BoostRuleType type) |
Long getId()
void setId(Long id)
BigDecimal getBoost()
void setBoost(BigDecimal boost)
BigDecimal getMinimumScore()
void setMinimumScore(BigDecimal minimumScore)
String getName()
void setName(String name)
org.broadleafcommerce.core.search.domain.IndexFieldType getIndexFieldType()
void setIndexFieldType(org.broadleafcommerce.core.search.domain.IndexFieldType indexFieldType)
BoostRuleType getType()
void setType(BoostRuleType type)
String getMatchValue()
void setMatchValue(String matchValue)
Boolean getDescending()
void setDescending(Boolean descending)
Date getActiveStartDate()
void setActiveStartDate(Date activeStartDate)
Date getActiveEndDate()
void setActiveEndDate(Date activeEndDate)
boolean isActive()
String getSearchTermQualifierRegex()
void setSearchTermQualifierRegex(String searchTermQualifierRegex)
Copyright © 2020. All rights reserved.