Browse Source

update exp code

丁云鹏 3 months ago
parent
commit
5b5e361c96

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

@@ -45,7 +45,7 @@ public class RankRouter {
         if (CollectionUtils.isNotEmpty(abExpCodes)) {
             for (Map.Entry<String, RankService> entry : strategyMap.entrySet()) {
                 if (abExpCodes.contains(entry.getKey())) {
-                    log.info("rank strategies {} {}", entry.getKey(), entry.getValue().getClass().getSimpleName());
+                    // log.info("rank strategies {} {}", entry.getKey(), entry.getValue().getClass().getSimpleName());
                     return entry.getValue().rank(param);
                 }
             }

+ 2 - 2
recommend-server-service/src/main/java/com/tzld/piaoquan/recommend/server/service/recall/RecallService.java

@@ -47,8 +47,8 @@ public class RecallService implements ApplicationContextAware {
 
     public RecallResult recall(RecallParam param) {
         List<RecallStrategy> strategies = getRecallStrategy(param);
-        log.info("recall strategies {}", JSONUtils.toJson(CommonCollectionUtils.toList(strategies,
-                o -> o.getClass().getSimpleName())));
+//        log.info("recall strategies {}", JSONUtils.toJson(CommonCollectionUtils.toList(strategies,
+//                o -> o.getClass().getSimpleName())));
         CountDownLatch cdl = new CountDownLatch(strategies.size());
         List<Future<RecallResult.RecallData>> recallResultFutures = new ArrayList<>();
         for (final RecallStrategy strategy : strategies) {