Authored by 胡古飞

稍微降低一下个性化的权重

... ... @@ -23,7 +23,7 @@ public class PersonalVectorFeatureSearch {
private static final Double BASE_CONSTANT = 1.0D;
private static final Double FACTOR_CONSTANT = 1.0D;
private static final Double FACTOR_CONSTANT = 0.8D;
@Autowired
private SearchDynamicConfigService searchDynamicConfigService;
... ...
... ... @@ -45,7 +45,7 @@ public class FunctionScoreSearchHelper {
private final int limitDayCount = 60;
private final int offsetDayCount = 20;
private final int scaleDayCount = 40;
private WeightBuilder genWeightFactorBuilder(float factor) {
return ScoreFunctionBuilders.weightFactorFunction(factor);
}
... ...