...
|
...
|
@@ -7,6 +7,7 @@ import com.yoho.search.base.utils.EventReportEnum; |
|
|
import com.yoho.search.base.utils.ISearchConstants;
|
|
|
import com.yoho.search.base.utils.ProductIndexEsField;
|
|
|
import com.yoho.search.aop.cache.SearchCacheAble;
|
|
|
import com.yoho.search.common.SearchRequestParams;
|
|
|
import com.yoho.search.core.es.model.SearchParam;
|
|
|
import com.yoho.search.core.es.model.SearchResult;
|
|
|
import com.yoho.search.core.es.utils.IgnoreSomeException;
|
...
|
...
|
@@ -17,6 +18,7 @@ import com.yoho.search.service.helper.AggCommonHelper; |
|
|
import com.yoho.search.service.helper.*;
|
|
|
|
|
|
import com.yoho.search.service.recall.beans.cache.SknReturnInfoCacheBean;
|
|
|
import com.yoho.search.service.recall.config.SpecialShopConstants;
|
|
|
import com.yoho.search.service.recall.models.common.ParamQueryFilter;
|
|
|
import org.apache.commons.collections.MapUtils;
|
|
|
import org.apache.commons.lang.StringUtils;
|
...
|
...
|
@@ -254,6 +256,7 @@ public class AggProductListService implements ApplicationEventPublisherAware { |
|
|
}
|
|
|
|
|
|
private BrandProductRequest buildBrandProductRequest(Map<String, String> paramMap, int totalViewNum) throws Exception{
|
|
|
paramMap.put(SearchRequestParams.PARAM_SEARCH_NOT_SHOP_ID, SpecialShopConstants.JISHOU_SHOP_ID.toString());
|
|
|
QueryBuilder query = searchServiceHelepr.constructQueryBuilder(paramMap);
|
|
|
BoolQueryBuilder filter = searchServiceHelepr.constructFilterBuilder(paramMap, null);
|
|
|
ParamQueryFilter paramQueryFilter = new ParamQueryFilter(query, filter);
|
...
|
...
|
|