|
@@ -151,12 +151,12 @@ public class FunctionScoreSearchHelper { |
|
@@ -151,12 +151,12 @@ public class FunctionScoreSearchHelper { |
151
|
if(StringUtils.isNotBlank(query)){
|
151
|
if(StringUtils.isNotBlank(query)){
|
152
|
scorers.add(searchScorerFactory.getCsBrandKeyWordScorer(query));
|
152
|
scorers.add(searchScorerFactory.getCsBrandKeyWordScorer(query));
|
153
|
}
|
153
|
}
|
154
|
- // 7、添加特殊店铺的打分器
|
|
|
155
|
- if(StringUtils.isNotBlank(query) && query.contains("adidas")){
|
|
|
156
|
- scorers.add(searchScorerFactory.getSpecialShopScorer(SpecialShopConstants.DOWNGRADE_SHOPIDS, 0.1f));
|
|
|
157
|
- }else{
|
|
|
158
|
- scorers.add(searchScorerFactory.getSpecialShopScorer(SpecialShopConstants.DOWNGRADE_SHOPIDS, 0.6f));
|
|
|
159
|
- }
|
154
|
+// // 7、添加特殊店铺的打分器
|
|
|
155
|
+// if(StringUtils.isNotBlank(query) && query.contains("adidas")){
|
|
|
156
|
+// scorers.add(searchScorerFactory.getSpecialShopScorer(SpecialShopConstants.DOWNGRADE_SHOPIDS, 0.05f));
|
|
|
157
|
+// }else{
|
|
|
158
|
+// scorers.add(searchScorerFactory.getSpecialShopScorer(SpecialShopConstants.DOWNGRADE_SHOPIDS, 0.6f));
|
|
|
159
|
+// }
|
160
|
return scorers;
|
160
|
return scorers;
|
161
|
}
|
161
|
}
|
162
|
|
162
|
|