Authored by unknown

召回数量优化

... ... @@ -336,15 +336,15 @@ public class SortRecallSceneService extends AbstractRecallService {
// 1、支持firstProductSkn的召回
recallStrategy.add(new FirstProductSknStrategy(1, this.getFirstProductSkns(paramMap)));
// 2、支持直通车的召回
recallStrategy.add(new DirectTrainStrategy(5));
recallStrategy.add(new DirectTrainStrategy(2));
// 3、支持曝光补偿的召回
recallStrategy.add(new AddFlowStrategy(5));
recallStrategy.add(new AddFlowStrategy(2));
// 4、支持新上架的召回
recallStrategy.add(new NewShelveStrategy(brandIds, 20, -7));
recallStrategy.add(new NewShelveStrategy(brandIds, 10, -7));
// 5、支持新降价的召回
recallStrategy.add(new NewReducePriceStrategy(brandIds, 20));
recallStrategy.add(new NewReducePriceStrategy(brandIds, 10));
// 6、支持新开促销的召回
recallStrategy.add(new NewPromotionStrategy(brandIds, 20));
recallStrategy.add(new NewPromotionStrategy(brandIds, 10));
// 8、支持兜底的召回-人气排序
recallStrategy.add(new CommonStrategy(pageSize));
return recallStrategy;
... ...