Authored by hugufei

fix adidas

... ... @@ -152,7 +152,7 @@ public class FunctionScoreSearchHelper {
scorers.add(searchScorerFactory.getCsBrandKeyWordScorer(query));
}
// 7、添加特殊店铺的打分器
if(query.contains("adidas")){
if(StringUtils.isNotBlank(query) && query.contains("adidas")){
scorers.add(searchScorerFactory.getSpecialShopScorer(SpecialShopConstants.DOWNGRADE_SHOPIDS, 0.1f));
}else{
scorers.add(searchScorerFactory.getSpecialShopScorer(SpecialShopConstants.DOWNGRADE_SHOPIDS, 0.6f));
... ...