Authored by 胡古飞

修改时间维度为30~90

@@ -42,9 +42,9 @@ public class FunctionScoreSearchHelper { @@ -42,9 +42,9 @@ public class FunctionScoreSearchHelper {
42 private final float globalWeight = 0.50f; 42 private final float globalWeight = 0.50f;
43 43
44 private final int oneDaySecondCount = 24 * 60 * 60; 44 private final int oneDaySecondCount = 24 * 60 * 60;
45 - private final int limitDayCount = 60;  
46 - private final int offsetDayCount = 15;  
47 - private final int scaleDayCount = 45; 45 + private final int limitDayCount = 90;
  46 + private final int offsetDayCount = 30;
  47 + private final int scaleDayCount = 60;
48 48
49 private WeightBuilder genWeightFactorBuilder(float factor) { 49 private WeightBuilder genWeightFactorBuilder(float factor) {
50 return ScoreFunctionBuilders.weightFactorFunction(factor); 50 return ScoreFunctionBuilders.weightFactorFunction(factor);