Showing
2 changed files
with
3 additions
and
8 deletions
@@ -153,7 +153,7 @@ public class UserRecallResponseBuilder { | @@ -153,7 +153,7 @@ public class UserRecallResponseBuilder { | ||
153 | score = score + 100; | 153 | score = score + 100; |
154 | } | 154 | } |
155 | //2)如果兜底策略不参与评分,并且当前skn有其他的召回策略,则加分【将兜底和非兜底的拆分】 | 155 | //2)如果兜底策略不参与评分,并且当前skn有其他的召回策略,则加分【将兜底和非兜底的拆分】 |
156 | - if (!searchDynamicConfigService.searchPersionalNewStrategyCommonJoinScoreOpen(uid) && !this.isCommonRecallOnly(sknResult)) { | 156 | + if (!searchDynamicConfigService.searchPersionalNewStrategyCommonJoinScoreOpen() && !this.isCommonRecallOnly(sknResult)) { |
157 | score = score + 50; | 157 | score = score + 50; |
158 | } | 158 | } |
159 | sknResult.setScore(score); | 159 | sknResult.setScore(score); |
@@ -190,13 +190,8 @@ public class SearchDynamicConfigService { | @@ -190,13 +190,8 @@ public class SearchDynamicConfigService { | ||
190 | * | 190 | * |
191 | * @return | 191 | * @return |
192 | */ | 192 | */ |
193 | - public boolean searchPersionalNewStrategyCommonJoinScoreOpen(int uid) { | ||
194 | - //return configReader.getBoolean("search.persional.newstrategy.common.join_score.open", true); | ||
195 | - if(uid%2==1){ | ||
196 | - return false;//奇数不参与评分-直接放后面 | ||
197 | - }else{ | ||
198 | - return true;//偶数参与评分-混合打分 | ||
199 | - } | 193 | + public boolean searchPersionalNewStrategyCommonJoinScoreOpen() { |
194 | + return configReader.getBoolean("search.persional.newstrategy.common.join_score.open", true); | ||
200 | } | 195 | } |
201 | 196 | ||
202 | /** | 197 | /** |
-
Please register or login to post a comment