Authored by 胡古飞

revert

@@ -60,7 +60,7 @@ public class FunctionScoreSearchHelper { @@ -60,7 +60,7 @@ public class FunctionScoreSearchHelper {
60 FunctionScoreQueryBuilder functionScoreQueryBuilder = new FunctionScoreQueryBuilder(queryBuilder); 60 FunctionScoreQueryBuilder functionScoreQueryBuilder = new FunctionScoreQueryBuilder(queryBuilder);
61 // 将某个SKN展示到第一个 61 // 将某个SKN展示到第一个
62 if (searchCommonHelper.isFirstProductSknSearch(paramMap)) { 62 if (searchCommonHelper.isFirstProductSknSearch(paramMap)) {
63 - functionScoreQueryBuilder.add(QueryBuilders.termsQuery("productSkn", paramMap.get(SearchRequestParams.FIRST_PRODUCRSKN).split(",")), 63 + functionScoreQueryBuilder.add(QueryBuilders.termQuery("productSkn", paramMap.get(SearchRequestParams.FIRST_PRODUCRSKN)),
64 ScoreFunctionBuilders.weightFactorFunction(1000)); 64 ScoreFunctionBuilders.weightFactorFunction(1000));
65 } 65 }
66 if (searchCommonHelper.isNeedPersonalSearch(paramMap)) { 66 if (searchCommonHelper.isNeedPersonalSearch(paramMap)) {