...
|
...
|
@@ -57,8 +57,8 @@ public class CommonPageRecallService extends BaseRecallService { |
|
|
// 1、构造SearchParam
|
|
|
List<SearchParam> searchParams = new ArrayList<SearchParam>();
|
|
|
searchParams.add(this.buildFirstSknSearchParam(paramMap, 1));
|
|
|
searchParams.add(this.buildHeatValueDescSearchParam(paramMap, viewNum * 2));
|
|
|
searchParams.add(this.buildRandomSearchParam(paramMap, viewNum * 2));
|
|
|
searchParams.add(this.buildHeatValueDescSearchParam(paramMap, viewNum * 1));
|
|
|
searchParams.add(this.buildRandomSearchParam(paramMap, viewNum * 1));
|
|
|
// 2、查询es
|
|
|
List<SearchResult> searchResults = searchCommonService.doMutiSearch(ISearchConstants.INDEX_NAME_PRODUCT_INDEX, searchParams);
|
|
|
// 3、获取值
|
...
|
...
|
|