|
@@ -26,7 +26,8 @@ import java.util.*;
|
|
|
import java.util.stream.Collectors;
|
|
|
|
|
|
|
|
|
- * @author dyp
|
|
|
+ * @author zhangbo
|
|
|
+ * @desc 模型的排序实验
|
|
|
*/
|
|
|
@Service
|
|
|
@Slf4j
|
|
@@ -63,7 +64,7 @@ public class RankStrategy4RankModel extends RankService {
|
|
|
List<String> videoIdKeys = rovRecallRank.stream()
|
|
|
.map(t -> param.getRankKeyPrefix() + t.getVideoId())
|
|
|
.collect(Collectors.toList());
|
|
|
- List<String> videoScores = redisTemplate.opsForValue().multiGet(videoIdKeys);
|
|
|
+ List<String> videoScores = this.redisTemplate.opsForValue().multiGet(videoIdKeys);
|
|
|
log.info("rank mergeAndRankRovRecall videoIdKeys={}, videoScores={}", JSONUtils.toJson(videoIdKeys),
|
|
|
JSONUtils.toJson(videoScores));
|
|
|
if (CollectionUtils.isNotEmpty(videoScores)
|