|
@@ -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);
|