Class AsBoostRulesReplaceMergeStrategy
java.lang.Object
de.hybris.platform.adaptivesearch.strategies.impl.AbstractAsBoostRulesMergeStrategy
de.hybris.platform.adaptivesearch.strategies.impl.AsBoostRulesReplaceMergeStrategy
- All Implemented Interfaces:
AsBoostRulesMergeStrategy
Default implementation of
AsBoostRulesMergeStrategy for REPLACE merge mode.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidmergeBoostRules(AsSearchProfileResult source, AsSearchProfileResult target) Merges the boost rules from the source result into the target result.protected <V extends AsBoostRule>
voidreplace(List<AsConfigurationHolder<V, AbstractAsBoostRuleConfiguration>> source, List<AsConfigurationHolder<V, AbstractAsBoostRuleConfiguration>> target) Methods inherited from class de.hybris.platform.adaptivesearch.strategies.impl.AbstractAsBoostRulesMergeStrategy
getAsSearchProfileResultFactory, setAsSearchProfileResultFactory
-
Constructor Details
-
AsBoostRulesReplaceMergeStrategy
public AsBoostRulesReplaceMergeStrategy()
-
-
Method Details
-
mergeBoostRules
Description copied from interface:AsBoostRulesMergeStrategyMerges the boost rules from the source result into the target result.- Parameters:
source- - the source resulttarget- - the target result
-
replace
protected <V extends AsBoostRule> void replace(List<AsConfigurationHolder<V, AbstractAsBoostRuleConfiguration>> source, List<AsConfigurationHolder<V, AbstractAsBoostRuleConfiguration>> target)
-