Ver código fonte

568 新召回fixbug

zhangbo 1 mês atrás
pai
commit
2c48a92b5f

+ 1 - 1
recommend-server-service/src/main/java/com/tzld/piaoquan/recommend/server/service/rank/strategy/RankStrategy4RegionMergeModelV568.java

@@ -84,7 +84,7 @@ public class RankStrategy4RegionMergeModelV568 extends RankStrategy4RegionMergeM
         rovRecallRank.addAll(hourROSRecall);
         setVideo.addAll(hourROSRecall.stream().map(Video::getVideoId).collect(Collectors.toSet()));
         //-------------------长周期ros------------------
-        List<Video> LongTermROSRecall = extractAndSort(param, RegionRealtimeRecallStrategyROS.PUSH_FORM);
+        List<Video> LongTermROSRecall = extractAndSort(param, RegionRealtimeRecallStrategyV7LongTermV1.PUSH_FORM);
         LongTermROSRecall = LongTermROSRecall.stream().filter(r -> !setVideo.contains(r.getVideoId())).collect(Collectors.toList());
         LongTermROSRecall = LongTermROSRecall.subList(0, Math.min(mergeWeight.getOrDefault("LongTermROSRecall", 1.0).intValue(), LongTermROSRecall.size()));
         rovRecallRank.addAll(LongTermROSRecall);