| 
					
				 | 
			
			
				@@ -40,7 +40,6 @@ public class RankV5Strategy implements RankStrategy { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         log.info("RankParam {}", JSONUtils.toJson(param)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ScoreResult scoreResult = scoreService.score(convertToScoreParam(param)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        log.info("ScoreResult {}", JSONUtils.toJson(scoreResult)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         Map<String, Map<String, Double>> scoreMap = scoreResult.getScoreMap(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         String[] contentPools = accountContentPoolConfigService.getContentPools(param.getAccountName()); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -72,11 +71,9 @@ public class RankV5Strategy implements RankStrategy { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // 1 排序 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         Collections.sort(items, (o1, o2) -> -Double.compare(o1.getScore(), o2.getScore())); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        log.info("SortResult {}", JSONUtils.toJson(items)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // 2 相似去重 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         List<Content> contents = CommonCollectionUtils.toList(items, RankItem::getContent); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         contents = deduplication(contents); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        log.info("Deduplication {}", JSONUtils.toJson(contents)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // 3 文章按照内容池分组 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         Map<String, List<Content>> contentMap = new HashMap<>(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -84,7 +81,6 @@ public class RankV5Strategy implements RankStrategy { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             List<Content> data = contentMap.computeIfAbsent(c.getContentPoolType(), k -> new ArrayList<>()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             data.add(c); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        log.info("ContentMap {}", JSONUtils.toJson(contentMap)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // 4 选文章 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         List<Content> result = new ArrayList<>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |