Authored by hugufei

Merge branch 'recall_config' into gray

... ... @@ -151,12 +151,12 @@ public class FunctionScoreSearchHelper {
if(StringUtils.isNotBlank(query)){
scorers.add(searchScorerFactory.getCsBrandKeyWordScorer(query));
}
// 7、添加特殊店铺的打分器
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));
}
// // 7、添加特殊店铺的打分器
// if(StringUtils.isNotBlank(query) && query.contains("adidas")){
// scorers.add(searchScorerFactory.getSpecialShopScorer(SpecialShopConstants.DOWNGRADE_SHOPIDS, 0.05f));
// }else{
// scorers.add(searchScorerFactory.getSpecialShopScorer(SpecialShopConstants.DOWNGRADE_SHOPIDS, 0.6f));
// }
return scorers;
}
... ...