|
@@ -81,39 +81,37 @@ public class RecallService implements ApplicationContextAware {
|
|
|
strategies.add(strategyMap.get(SpecialRecallStrategy.class.getSimpleName()));
|
|
|
return strategies;
|
|
|
}
|
|
|
-
|
|
|
String abCode = param.getAbCode();
|
|
|
|
|
|
if (param.getAppType() == AppTypeEnum.LAO_HAO_KAN_VIDEO.getCode()
|
|
|
|| param.getAppType() == AppTypeEnum.ZUI_JING_QI.getCode()) {
|
|
|
strategies.addAll(getRegionRecallStrategy(param));
|
|
|
- return strategies;
|
|
|
- }
|
|
|
-
|
|
|
- switch (abCode) {
|
|
|
- case "60120":
|
|
|
- strategies.add(strategyMap.get(RegionRealtimeRecallStrategyV1.class.getSimpleName()));
|
|
|
- strategies.add(strategyMap.get(RegionRealtimeRecallStrategyV2.class.getSimpleName()));
|
|
|
- strategies.add(strategyMap.get(RegionRealtimeRecallStrategyV3.class.getSimpleName()));
|
|
|
- strategies.add(strategyMap.get(RegionRealtimeRecallStrategyV4.class.getSimpleName()));
|
|
|
- break;
|
|
|
- default:
|
|
|
- strategies.addAll(getRegionRecallStrategy(param));
|
|
|
- }
|
|
|
-
|
|
|
- if (param.getFlowPoolAbtestGroup().equals(FlowPoolConstants.EXPERIMENTAL_FLOW_SET_LEVEL)) {
|
|
|
- strategies.add(strategyMap.get(QuickFlowPoolWithLevelRecallStrategy.class.getSimpleName()));
|
|
|
- strategies.add(strategyMap.get(FlowPoolWithLevelRecallStrategy.class.getSimpleName()));
|
|
|
- } else if (param.getFlowPoolAbtestGroup().equals(FlowPoolConstants.EXPERIMENTAL_FLOW_SET_LEVEL_SCORE)) {
|
|
|
- strategies.add(strategyMap.get(QuickFlowPoolWithLevelScoreRecallStrategy.class.getSimpleName()));
|
|
|
- strategies.add(strategyMap.get(FlowPoolWithLevelScoreRecallStrategy.class.getSimpleName()));
|
|
|
} else {
|
|
|
- strategies.add(strategyMap.get(QuickFlowPoolWithScoreRecallStrategy.class.getSimpleName()));
|
|
|
- strategies.add(strategyMap.get(FlowPoolWithScoreRecallStrategy.class.getSimpleName()));
|
|
|
+ switch (abCode) {
|
|
|
+ case "60120":
|
|
|
+ strategies.add(strategyMap.get(RegionRealtimeRecallStrategyV1.class.getSimpleName()));
|
|
|
+ strategies.add(strategyMap.get(RegionRealtimeRecallStrategyV2.class.getSimpleName()));
|
|
|
+ strategies.add(strategyMap.get(RegionRealtimeRecallStrategyV3.class.getSimpleName()));
|
|
|
+ strategies.add(strategyMap.get(RegionRealtimeRecallStrategyV4.class.getSimpleName()));
|
|
|
+ break;
|
|
|
+ default:
|
|
|
+ strategies.addAll(getRegionRecallStrategy(param));
|
|
|
+ }
|
|
|
+
|
|
|
+ if (param.getFlowPoolAbtestGroup().equals(FlowPoolConstants.EXPERIMENTAL_FLOW_SET_LEVEL)) {
|
|
|
+ strategies.add(strategyMap.get(QuickFlowPoolWithLevelRecallStrategy.class.getSimpleName()));
|
|
|
+ strategies.add(strategyMap.get(FlowPoolWithLevelRecallStrategy.class.getSimpleName()));
|
|
|
+ } else if (param.getFlowPoolAbtestGroup().equals(FlowPoolConstants.EXPERIMENTAL_FLOW_SET_LEVEL_SCORE)) {
|
|
|
+ strategies.add(strategyMap.get(QuickFlowPoolWithLevelScoreRecallStrategy.class.getSimpleName()));
|
|
|
+ strategies.add(strategyMap.get(FlowPoolWithLevelScoreRecallStrategy.class.getSimpleName()));
|
|
|
+ } else {
|
|
|
+ strategies.add(strategyMap.get(QuickFlowPoolWithScoreRecallStrategy.class.getSimpleName()));
|
|
|
+ strategies.add(strategyMap.get(FlowPoolWithScoreRecallStrategy.class.getSimpleName()));
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
+
|
|
|
|
|
|
-
|
|
|
if (abCode == null) {
|
|
|
|
|
|
;
|
|
@@ -133,7 +131,7 @@ public class RecallService implements ApplicationContextAware {
|
|
|
strategies.add(strategyMap.get(SimHotVideoRecallStrategy.class.getSimpleName()));
|
|
|
strategies.add(strategyMap.get(ReturnVideoRecallStrategy.class.getSimpleName()));
|
|
|
break;
|
|
|
- case "60107":
|
|
|
+ case "60107":
|
|
|
case "60106":
|
|
|
case "60068":
|
|
|
case "60092":
|