Authored by 胡古飞

fix search like bug

... ... @@ -27,6 +27,7 @@ public class SearchLikeHelper {
@Autowired
private SearchCommonService searchCommonService;
@Autowired
private SearchServiceHelper searchServiceHelper;
@Autowired
private SearchCacheService searchCacheService;
... ...
... ... @@ -103,6 +103,7 @@ public class SearchLikeInShopServiceImpl implements ISearchLikeInShopService {
} else if (isLegalInteger(brandId)) {
boolFilter.must(QueryBuilders.termQuery("brandId", brandId));
}
searchParam.setFiter(boolFilter);
// 6、设置排序规则[按打分排序]
List<SortBuilder> sortBuilders = new ArrayList<SortBuilder>();
... ...