|
@@ -58,10 +58,7 @@ public class RankV15Strategy implements RankStrategy {
|
|
|
double score;
|
|
|
int index = weightService.getIndex(item.getContent().getContentPoolType(), contentPools);
|
|
|
if (contentPools[0].equals(item.getContent().getContentPoolType())) {
|
|
|
- score = item.getScore(ScoreStrategyEnum.HIS_FISSION_DE_WEIGHT_AVG_READ_SUM_RATE.value())
|
|
|
- * weightService.getWeight(param.getStrategy(), param.getGhId(), index,
|
|
|
- ScoreStrategyEnum.HIS_FISSION_DE_WEIGHT_AVG_READ_SUM_RATE.value())
|
|
|
- + item.getScore(ScoreStrategyEnum.SIMILARITY.value())
|
|
|
+ score = item.getScore(ScoreStrategyEnum.SIMILARITY.value())
|
|
|
* weightService.getWeight(param.getStrategy(), param.getGhId(), index,
|
|
|
ScoreStrategyEnum.SIMILARITY.value())
|
|
|
+ item.getScore(ScoreStrategyEnum.CATEGORY.value())
|
|
@@ -75,8 +72,8 @@ public class RankV15Strategy implements RankStrategy {
|
|
|
ScoreStrategyEnum.VIEW_COUNT_RATE.value());
|
|
|
}
|
|
|
// 部分账号实验 不增加裂变分
|
|
|
- if (notAddFissionScoreAccount.contains(param.getAccountName())) {
|
|
|
- score -= item.getScore(ScoreStrategyEnum.HIS_FISSION_DE_WEIGHT_AVG_READ_SUM_RATE.value())
|
|
|
+ if (!notAddFissionScoreAccount.contains(param.getAccountName())) {
|
|
|
+ score += item.getScore(ScoreStrategyEnum.HIS_FISSION_DE_WEIGHT_AVG_READ_SUM_RATE.value())
|
|
|
* weightService.getWeight(param.getStrategy(), param.getGhId(), index,
|
|
|
ScoreStrategyEnum.HIS_FISSION_DE_WEIGHT_AVG_READ_SUM_RATE.value());
|
|
|
}
|