|
@@ -563,6 +563,8 @@ public class RankStrategyBy688 extends RankStrategyBasic {
|
|
|
Map<String, String> cidFeatureMap) {
|
|
|
Map<String, String> h1Feature = adVerFeature.getOrDefault("alg_mid_feature_adver_action", new HashMap<>());
|
|
|
Map<String, String> h2Feature = adVerFeature.getOrDefault("alg_mid_feature_sku_action", new HashMap<>());
|
|
|
+ log.info("h1Feature={}",h1Feature);
|
|
|
+ log.info("h2Feature={}",h2Feature);
|
|
|
List<String> timeList = Arrays.asList("3d", "7d", "30d");
|
|
|
List<Tuple2<Map<String, String>, String>> featureList = Arrays.asList(
|
|
|
new Tuple2<>(h1Feature, "adverid"),
|
|
@@ -578,6 +580,9 @@ public class RankStrategyBy688 extends RankStrategyBasic {
|
|
|
cidFeatureMap.put("user" + "_" + prefix + "_" + "view" + "_" + time, split[0]);
|
|
|
cidFeatureMap.put("user" + "_" + prefix + "_" + "click" + "_" + time, split[1]);
|
|
|
cidFeatureMap.put("user" + "_" + prefix + "_" + "conver" + "_" + time, split[2]);
|
|
|
+ log.info("user" + "_" + prefix + "_" + "view" + "_" + time, split[0]);
|
|
|
+ log.info("user" + "_" + prefix + "_" + "click" + "_" + time, split[1]);
|
|
|
+ log.info("user" + "_" + prefix + "_" + "conver" + "_" + time, split[2]);
|
|
|
}
|
|
|
}
|
|
|
}
|