...
|
...
|
@@ -1601,6 +1601,12 @@ public class SearchService { |
|
|
int[] brandids = ConvertUtils.stringToIntArray(paramMap.get(ISearchConstans.PARAM_SEARCH_BRAND), ",");
|
|
|
boolFilter.must(FilterBuilders.termsFilter("brandId", brandids));
|
|
|
}
|
|
|
//店铺
|
|
|
if (paramMap.containsKey(ISearchConstans.PARAM_SEARCH_SHOP) && StringUtils.isNotBlank(paramMap.get(ISearchConstans.PARAM_SEARCH_SHOP)) && !ISearchConstans.PARAM_SEARCH_SHOP.equals(filterParamName)) {
|
|
|
int[] shopids = ConvertUtils.stringToIntArray(paramMap.get(ISearchConstans.PARAM_SEARCH_SHOP), ",");
|
|
|
boolFilter.must(FilterBuilders.termsFilter("shopId", shopids));
|
|
|
}
|
|
|
|
|
|
if (paramMap.containsKey(ISearchConstans.PARAM_SEARCH_MAXSORT) && StringUtils.isNotBlank(paramMap.get(ISearchConstans.PARAM_SEARCH_MAXSORT)) && !ISearchConstans.PARAM_SEARCH_MAXSORT.equals(filterParamName)) {
|
|
|
int[] maxsortids = ConvertUtils.stringToIntArray(paramMap.get(ISearchConstans.PARAM_SEARCH_MAXSORT), ",");
|
|
|
boolFilter.must(FilterBuilders.termsFilter("maxSortId", maxsortids));
|
...
|
...
|
|