瀏覽代碼

cold start

丁云鹏 11 月之前
父節點
當前提交
05227d2a1e

+ 1 - 1
long-article-recommend-service/src/main/java/com/tzld/longarticle/recommend/server/service/rank/strategy/DefaultRankStrategy.java

@@ -80,8 +80,8 @@ public class DefaultRankStrategy implements RankStrategy {
                 }
             }
         }
+        log.info("Sort result {}", JSONUtils.toJson(sortedItems));
         List<Content> contents = CommonCollectionUtils.toList(sortedItems, RankItem::getContent);
-        log.info("Sort result {}", JSONUtils.toJson(contents));
 
         // 3 相似去重
         contents = deduplication(contents);