Authored by hugufei

兜底是否参与评分AB取消

... ... @@ -153,7 +153,7 @@ public class UserRecallResponseBuilder {
score = score + 100;
}
//2)如果兜底策略不参与评分,并且当前skn有其他的召回策略,则加分【将兜底和非兜底的拆分】
if (!searchDynamicConfigService.searchPersionalNewStrategyCommonJoinScoreOpen(uid) && !this.isCommonRecallOnly(sknResult)) {
if (!searchDynamicConfigService.searchPersionalNewStrategyCommonJoinScoreOpen() && !this.isCommonRecallOnly(sknResult)) {
score = score + 50;
}
sknResult.setScore(score);
... ...
... ... @@ -190,13 +190,8 @@ public class SearchDynamicConfigService {
*
* @return
*/
public boolean searchPersionalNewStrategyCommonJoinScoreOpen(int uid) {
//return configReader.getBoolean("search.persional.newstrategy.common.join_score.open", true);
if(uid%2==1){
return false;//奇数不参与评分-直接放后面
}else{
return true;//偶数参与评分-混合打分
}
public boolean searchPersionalNewStrategyCommonJoinScoreOpen() {
return configReader.getBoolean("search.persional.newstrategy.common.join_score.open", true);
}
/**
... ...