public interface EnterpriseSearchBoostRuleDao
| Modifier and Type | Method and Description |
|---|---|
CategoryBoostRule |
findCategoryBoostRule(org.broadleafcommerce.core.search.domain.IndexFieldType indexFieldType,
BoostRuleType boostRuleType)
Finds and returns only a single CategoryBoostRule for the parameters
|
List<CategoryBoostRule> |
findCategoryBoostRules(List<Long> categoryIds,
BoostRuleType boostRuleType) |
GlobalBoostRule |
findGlobalBoostRule(org.broadleafcommerce.core.search.domain.IndexFieldType indexFieldType,
BoostRuleType boostRuleType)
Finds and returns only a single GlobalBoostRule for the parameters
|
List<GlobalBoostRule> |
findGlobalBoostRules(BoostRuleType boostRuleType)
Finds and returns the GlobalBoostRule's for the given IndexFieldType and BoostRuleType
|
Long |
getCurrentDateResolution()
Returns the number of milliseconds that the current date/time will be cached for queries before refreshing.
|
void |
setCurrentDateResolution(Long currentDateResolution)
Sets the number of milliseconds that the current date/time will be cached for queries before refreshing.
|
GlobalBoostRule findGlobalBoostRule(org.broadleafcommerce.core.search.domain.IndexFieldType indexFieldType, BoostRuleType boostRuleType)
indexFieldType - the IndexFieldType to matchboostRuleType - the BoostRuleType to matchList<CategoryBoostRule> findCategoryBoostRules(List<Long> categoryIds, BoostRuleType boostRuleType)
List<GlobalBoostRule> findGlobalBoostRules(BoostRuleType boostRuleType)
IndexFieldType - the IndexFieldType to matchboostRuleType - the BoostRuleType to matchCategoryBoostRule findCategoryBoostRule(org.broadleafcommerce.core.search.domain.IndexFieldType indexFieldType, BoostRuleType boostRuleType)
IndexFieldType - the IndexFieldType to matchboostRuleType - the boostRuleType to matchLong getCurrentDateResolution()
void setCurrentDateResolution(Long currentDateResolution)
currentDateResolution - the milliseconds to cache the current date/timeCopyright © 2020. All rights reserved.