Authored by hugufei

召回日志整理

@@ -75,7 +75,7 @@ public class BatchRequestResponseEntrace { @@ -75,7 +75,7 @@ public class BatchRequestResponseEntrace {
75 private CompletableFuture<List<RecallRequestResponse>> doRecallSknList(UserRecallRequest userRecallRequest, UserPersonalFactor userPersonalFactor) { 75 private CompletableFuture<List<RecallRequestResponse>> doRecallSknList(UserRecallRequest userRecallRequest, UserPersonalFactor userPersonalFactor) {
76 return CompletableFuture.supplyAsync(() -> { 76 return CompletableFuture.supplyAsync(() -> {
77 long begin = System.currentTimeMillis(); 77 long begin = System.currentTimeMillis();
78 - List<RecallRequestResponse> requestResponses = sknRecallRecallRequestResponseBuilder.batchRecallBySknList(userRecallRequest, userPersonalFactor); 78 + List<RecallRequestResponse> requestResponses = sknRecallRecallRequestResponseBuilder.buildRecallRequestsForSkn(userRecallRequest, userPersonalFactor);
79 RecallLoggerHelper.info("batchRecall-doRecallSknList,request size is [{}],cost is [{}]", requestResponses.size(), System.currentTimeMillis() - begin); 79 RecallLoggerHelper.info("batchRecall-doRecallSknList,request size is [{}],cost is [{}]", requestResponses.size(), System.currentTimeMillis() - begin);
80 return requestResponses; 80 return requestResponses;
81 }, recallExecutorService); 81 }, recallExecutorService);
@@ -90,7 +90,7 @@ public class BatchRequestResponseEntrace { @@ -90,7 +90,7 @@ public class BatchRequestResponseEntrace {
90 private CompletableFuture<List<RecallRequestResponse>> doRecallCommon(UserRecallRequest userRecallRequest, PagePersonalFactor pagePersonalFactor) { 90 private CompletableFuture<List<RecallRequestResponse>> doRecallCommon(UserRecallRequest userRecallRequest, PagePersonalFactor pagePersonalFactor) {
91 return CompletableFuture.supplyAsync(() -> { 91 return CompletableFuture.supplyAsync(() -> {
92 long begin = System.currentTimeMillis(); 92 long begin = System.currentTimeMillis();
93 - List<RecallRequest> requests = commonRequestBuilder.buildCommonRecallRequests(userRecallRequest, pagePersonalFactor); 93 + List<RecallRequest> requests = commonRequestBuilder.buildRecallRequestsForCommon(userRecallRequest, pagePersonalFactor);
94 List<RecallRequestResponse> requestResponses = batchRecallBaseService.batchRecallAndCache(requests); 94 List<RecallRequestResponse> requestResponses = batchRecallBaseService.batchRecallAndCache(requests);
95 RecallLoggerHelper.info("batchRecall-doRecallCommon,request size is [{}],cost is [{}]", requests.size(), System.currentTimeMillis() - begin); 95 RecallLoggerHelper.info("batchRecall-doRecallCommon,request size is [{}],cost is [{}]", requests.size(), System.currentTimeMillis() - begin);
96 return requestResponses; 96 return requestResponses;
@@ -107,7 +107,7 @@ public class BatchRequestResponseEntrace { @@ -107,7 +107,7 @@ public class BatchRequestResponseEntrace {
107 private CompletableFuture<List<RecallRequestResponse>> doRecallSortBrand(UserRecallRequest userRecallRequest, UserPersonalFactor userPersonalFactor) { 107 private CompletableFuture<List<RecallRequestResponse>> doRecallSortBrand(UserRecallRequest userRecallRequest, UserPersonalFactor userPersonalFactor) {
108 return CompletableFuture.supplyAsync(() -> { 108 return CompletableFuture.supplyAsync(() -> {
109 long begin = System.currentTimeMillis(); 109 long begin = System.currentTimeMillis();
110 - List<RecallRequest> requests = sortBrandRecallRequestBuilder.buildSortBrandRequests(userRecallRequest, userPersonalFactor); 110 + List<RecallRequest> requests = sortBrandRecallRequestBuilder.buildRecallRequestsForSortBrand(userRecallRequest, userPersonalFactor);
111 List<RecallRequestResponse> vecSortBrandRequestsResponses = batchRecallBaseService.batchRecallAndCache(requests); 111 List<RecallRequestResponse> vecSortBrandRequestsResponses = batchRecallBaseService.batchRecallAndCache(requests);
112 RecallLoggerHelper.info("batchRecall-doRecallSortBrand,request size is [{}],cost is [{}]", requests.size(), System.currentTimeMillis() - begin); 112 RecallLoggerHelper.info("batchRecall-doRecallSortBrand,request size is [{}],cost is [{}]", requests.size(), System.currentTimeMillis() - begin);
113 return vecSortBrandRequestsResponses; 113 return vecSortBrandRequestsResponses;
@@ -8,8 +8,6 @@ import com.yoho.search.models.recall.UserPersonalFactor; @@ -8,8 +8,6 @@ import com.yoho.search.models.recall.UserPersonalFactor;
8 import com.yoho.search.models.recall.UserRecallRequest; 8 import com.yoho.search.models.recall.UserRecallRequest;
9 import com.yoho.search.service.recall.helper.RecallLoggerHelper; 9 import com.yoho.search.service.recall.helper.RecallLoggerHelper;
10 import com.yoho.search.service.recall.strategy.SortBrandType; 10 import com.yoho.search.service.recall.strategy.SortBrandType;
11 -import org.slf4j.Logger;  
12 -import org.slf4j.LoggerFactory;  
13 import org.springframework.beans.factory.annotation.Autowired; 11 import org.springframework.beans.factory.annotation.Autowired;
14 import org.springframework.stereotype.Component; 12 import org.springframework.stereotype.Component;
15 13
@@ -40,18 +38,10 @@ public class QueryUserPersionalFactorBean { @@ -40,18 +38,10 @@ public class QueryUserPersionalFactorBean {
40 if (!userRecallRequest.hasUidOrUdid()) { 38 if (!userRecallRequest.hasUidOrUdid()) {
41 return new UserPersonalFactor(); 39 return new UserPersonalFactor();
42 } 40 }
43 - int uid = userRecallRequest.getUid();  
44 - String udid = userRecallRequest.getUdid();  
45 //2、获取用户的个性化因子 41 //2、获取用户的个性化因子
46 - long begin = System.currentTimeMillis();  
47 UserPersonalFactorRsp userFactor = userComponent.queryUserPersionalFactor(userRecallRequest.getUid(), userRecallRequest.getUdid(), pageFactor.getMisortIds()); 42 UserPersonalFactorRsp userFactor = userComponent.queryUserPersionalFactor(userRecallRequest.getUid(), userRecallRequest.getUdid(), pageFactor.getMisortIds());
48 - long cost = System.currentTimeMillis() - begin;  
49 - RecallLoggerHelper.info("QueryUserPersionalFactorBean[2]:queryUserPersionalFactor. uid is[{}],udid is[{}], cost is[{}]", uid, udid, cost);  
50 //3、构造结果 43 //3、构造结果
51 - begin = System.currentTimeMillis();  
52 UserPersonalFactor userPersonalFactor = this.buildUserPersonalFactor(userRecallRequest, pageFactor, userFactor); 44 UserPersonalFactor userPersonalFactor = this.buildUserPersonalFactor(userRecallRequest, pageFactor, userFactor);
53 - cost = System.currentTimeMillis() - begin;  
54 - RecallLoggerHelper.info("QueryUserPersionalFactorBean[3]:buildUserPersonalFactor, uid is[{}],udid is[{}], cost is[{}ms],", uid, udid, cost);  
55 return userPersonalFactor; 45 return userPersonalFactor;
56 } catch (Exception e) { 46 } catch (Exception e) {
57 RecallLoggerHelper.error(e.getMessage(), e); 47 RecallLoggerHelper.error(e.getMessage(), e);
@@ -34,7 +34,7 @@ public class CommonRecallRequestBuilder { @@ -34,7 +34,7 @@ public class CommonRecallRequestBuilder {
34 * @param userRecallRequest 34 * @param userRecallRequest
35 * @return 35 * @return
36 */ 36 */
37 - public List<RecallRequest> buildCommonRecallRequests(UserRecallRequest userRecallRequest, PagePersonalFactor pagePersonalFactor) { 37 + public List<RecallRequest> buildRecallRequestsForCommon(UserRecallRequest userRecallRequest, PagePersonalFactor pagePersonalFactor) {
38 //1、构造召回请求 38 //1、构造召回请求
39 List<RecallRequest> requests = new ArrayList<>(); 39 List<RecallRequest> requests = new ArrayList<>();
40 //2、firstSkn的召回 40 //2、firstSkn的召回
@@ -70,7 +70,7 @@ public class CommonRecallRequestBuilder { @@ -70,7 +70,7 @@ public class CommonRecallRequestBuilder {
70 */ 70 */
71 private List<RecallRequest> buildFirstSknRequest(UserRecallRequest userRecallRequest) { 71 private List<RecallRequest> buildFirstSknRequest(UserRecallRequest userRecallRequest) {
72 int size = recallConfigService.queryStrategyConfigSize(userRecallRequest, StrategyEnum.FIRST_SKN, 0); 72 int size = recallConfigService.queryStrategyConfigSize(userRecallRequest, StrategyEnum.FIRST_SKN, 0);
73 - RecallLoggerHelper.infoDetail(userRecallRequest,"buildCommonRequest, FIRST_SKN size is [{}]",size); 73 + RecallLoggerHelper.infoDetail(userRecallRequest,"buildRecallRequestsForCommon, FIRST_SKN size is [{}]",size);
74 if (size == 0) { 74 if (size == 0) {
75 return Collections.emptyList(); 75 return Collections.emptyList();
76 } 76 }
@@ -87,7 +87,7 @@ public class CommonRecallRequestBuilder { @@ -87,7 +87,7 @@ public class CommonRecallRequestBuilder {
87 */ 87 */
88 private List<RecallRequest> buildDirectTrainRequest(UserRecallRequest userRecallRequest) { 88 private List<RecallRequest> buildDirectTrainRequest(UserRecallRequest userRecallRequest) {
89 int size = recallConfigService.queryStrategyConfigSize(userRecallRequest, StrategyEnum.DIRECT_TRAIN, 0); 89 int size = recallConfigService.queryStrategyConfigSize(userRecallRequest, StrategyEnum.DIRECT_TRAIN, 0);
90 - RecallLoggerHelper.infoDetail(userRecallRequest,"buildCommonRequest, DIRECT_TRAIN size is [{}]",size); 90 + RecallLoggerHelper.infoDetail(userRecallRequest,"buildRecallRequestsForCommon, DIRECT_TRAIN size is [{}]",size);
91 if (size == 0) { 91 if (size == 0) {
92 return Collections.emptyList(); 92 return Collections.emptyList();
93 } 93 }
@@ -103,7 +103,7 @@ public class CommonRecallRequestBuilder { @@ -103,7 +103,7 @@ public class CommonRecallRequestBuilder {
103 */ 103 */
104 private List<RecallRequest> buildUfoDirectTrainRequest(UserRecallRequest userRecallRequest) { 104 private List<RecallRequest> buildUfoDirectTrainRequest(UserRecallRequest userRecallRequest) {
105 int size = recallConfigService.queryStrategyConfigSize(userRecallRequest, StrategyEnum.DIRECT_TRAIN_UFO, 0); 105 int size = recallConfigService.queryStrategyConfigSize(userRecallRequest, StrategyEnum.DIRECT_TRAIN_UFO, 0);
106 - RecallLoggerHelper.infoDetail(userRecallRequest,"buildCommonRequest, DIRECT_TRAIN_UFO size is [{}]",size); 106 + RecallLoggerHelper.infoDetail(userRecallRequest,"buildRecallRequestsForCommon, DIRECT_TRAIN_UFO size is [{}]",size);
107 if (size == 0) { 107 if (size == 0) {
108 return Collections.emptyList(); 108 return Collections.emptyList();
109 } 109 }
@@ -119,7 +119,7 @@ public class CommonRecallRequestBuilder { @@ -119,7 +119,7 @@ public class CommonRecallRequestBuilder {
119 */ 119 */
120 private List<RecallRequest> buildNewShopRequest(UserRecallRequest userRecallRequest) { 120 private List<RecallRequest> buildNewShopRequest(UserRecallRequest userRecallRequest) {
121 int size = recallConfigService.queryStrategyConfigSize(userRecallRequest, StrategyEnum.NEW_SHOP, 0); 121 int size = recallConfigService.queryStrategyConfigSize(userRecallRequest, StrategyEnum.NEW_SHOP, 0);
122 - RecallLoggerHelper.infoDetail(userRecallRequest,"buildCommonRequest, NEW_SHOP size is [{}]",size); 122 + RecallLoggerHelper.infoDetail(userRecallRequest,"buildRecallRequestsForCommon, NEW_SHOP size is [{}]",size);
123 if (size == 0) { 123 if (size == 0) {
124 return Collections.emptyList(); 124 return Collections.emptyList();
125 } 125 }
@@ -135,7 +135,7 @@ public class CommonRecallRequestBuilder { @@ -135,7 +135,7 @@ public class CommonRecallRequestBuilder {
135 */ 135 */
136 private List<RecallRequest> buildAddFlowRequest(UserRecallRequest userRecallRequest) { 136 private List<RecallRequest> buildAddFlowRequest(UserRecallRequest userRecallRequest) {
137 int size = recallConfigService.queryStrategyConfigSize(userRecallRequest, StrategyEnum.ADD_FLOW, 0); 137 int size = recallConfigService.queryStrategyConfigSize(userRecallRequest, StrategyEnum.ADD_FLOW, 0);
138 - RecallLoggerHelper.infoDetail(userRecallRequest,"buildCommonRequest, ADD_FLOW size is [{}]",size); 138 + RecallLoggerHelper.infoDetail(userRecallRequest,"buildRecallRequestsForCommon, ADD_FLOW size is [{}]",size);
139 if (size == 0) { 139 if (size == 0) {
140 return Collections.emptyList(); 140 return Collections.emptyList();
141 } 141 }
@@ -151,7 +151,7 @@ public class CommonRecallRequestBuilder { @@ -151,7 +151,7 @@ public class CommonRecallRequestBuilder {
151 */ 151 */
152 private List<RecallRequest> buildNewProductRequest(UserRecallRequest userRecallRequest) { 152 private List<RecallRequest> buildNewProductRequest(UserRecallRequest userRecallRequest) {
153 int size = recallConfigService.queryStrategyConfigSize(userRecallRequest, StrategyEnum.NEW_PRODUCT, 0); 153 int size = recallConfigService.queryStrategyConfigSize(userRecallRequest, StrategyEnum.NEW_PRODUCT, 0);
154 - RecallLoggerHelper.infoDetail(userRecallRequest,"buildCommonRequest, NEW_PRODUCT size is [{}]",size); 154 + RecallLoggerHelper.infoDetail(userRecallRequest,"buildRecallRequestsForCommon, NEW_PRODUCT size is [{}]",size);
155 if (size == 0) { 155 if (size == 0) {
156 return Collections.emptyList(); 156 return Collections.emptyList();
157 } 157 }
@@ -167,7 +167,7 @@ public class CommonRecallRequestBuilder { @@ -167,7 +167,7 @@ public class CommonRecallRequestBuilder {
167 */ 167 */
168 private List<RecallRequest> buildCommonRandomStrategy(UserRecallRequest userRecallRequest) { 168 private List<RecallRequest> buildCommonRandomStrategy(UserRecallRequest userRecallRequest) {
169 int size = recallConfigService.queryStrategyConfigSize(userRecallRequest, StrategyEnum.COMMON_RANDOM, 0); 169 int size = recallConfigService.queryStrategyConfigSize(userRecallRequest, StrategyEnum.COMMON_RANDOM, 0);
170 - RecallLoggerHelper.infoDetail(userRecallRequest,"buildCommonRequest, COMMON_RANDOM size is [{}]",size); 170 + RecallLoggerHelper.infoDetail(userRecallRequest,"buildRecallRequestsForCommon, COMMON_RANDOM size is [{}]",size);
171 if (size == 0) { 171 if (size == 0) {
172 return Collections.emptyList(); 172 return Collections.emptyList();
173 } 173 }
@@ -187,7 +187,7 @@ public class CommonRecallRequestBuilder { @@ -187,7 +187,7 @@ public class CommonRecallRequestBuilder {
187 if (size == 0 || size < pageSize) { 187 if (size == 0 || size < pageSize) {
188 size = pageSize; 188 size = pageSize;
189 } 189 }
190 - RecallLoggerHelper.infoDetail(userRecallRequest,"buildCommonRequest, COMMON_HEAT_VALUE size is [{}]",size); 190 + RecallLoggerHelper.infoDetail(userRecallRequest,"buildRecallRequestsForCommon, COMMON_HEAT_VALUE size is [{}]",size);
191 CommonHeatValueStrategy strategy = new CommonHeatValueStrategy(size); 191 CommonHeatValueStrategy strategy = new CommonHeatValueStrategy(size);
192 return this.buildRequestList(userRecallRequest, strategy); 192 return this.buildRequestList(userRecallRequest, strategy);
193 } 193 }
@@ -54,7 +54,7 @@ public class SknRecallRecallRequestResponseBuilder { @@ -54,7 +54,7 @@ public class SknRecallRecallRequestResponseBuilder {
54 * 54 *
55 * @return 55 * @return
56 */ 56 */
57 - public List<RecallRequestResponse> batchRecallBySknList(UserRecallRequest userRecallRequest, UserPersonalFactor userPersonalFactor) { 57 + public List<RecallRequestResponse> buildRecallRequestsForSkn(UserRecallRequest userRecallRequest, UserPersonalFactor userPersonalFactor) {
58 try { 58 try {
59 List<Integer> filterSknList = new ArrayList<>(); 59 List<Integer> filterSknList = new ArrayList<>();
60 //1、获取实时点击skn的配置 60 //1、获取实时点击skn的配置
@@ -64,7 +64,7 @@ public class SknRecallRecallRequestResponseBuilder { @@ -64,7 +64,7 @@ public class SknRecallRecallRequestResponseBuilder {
64 } else { 64 } else {
65 recSknCount = 0; 65 recSknCount = 0;
66 } 66 }
67 - RecallLoggerHelper.infoDetail(userRecallRequest, "buildSknRequests, REC_SKN size is [{}]", recSknCount); 67 + RecallLoggerHelper.infoDetail(userRecallRequest, "buildRecallRequestsForSkn, REC_SKN size is [{}]", recSknCount);
68 68
69 //2、获取相似skn的配置 69 //2、获取相似skn的配置
70 int youtubeSknCount = recallConfigService.queryStrategyConfigSize(userRecallRequest, StrategyEnum.RT_YOUTUBE_SKN, 0); 70 int youtubeSknCount = recallConfigService.queryStrategyConfigSize(userRecallRequest, StrategyEnum.RT_YOUTUBE_SKN, 0);
@@ -73,7 +73,7 @@ public class SknRecallRecallRequestResponseBuilder { @@ -73,7 +73,7 @@ public class SknRecallRecallRequestResponseBuilder {
73 } else { 73 } else {
74 youtubeSknCount = 0; 74 youtubeSknCount = 0;
75 } 75 }
76 - RecallLoggerHelper.infoDetail(userRecallRequest, "buildSknRequests, RT_YOUTUBE_SKN size is [{}]", recSknCount); 76 + RecallLoggerHelper.infoDetail(userRecallRequest, "buildRecallRequestsForSkn, RT_YOUTUBE_SKN size is [{}]", recSknCount);
77 77
78 //3、获取相似skn的配置 78 //3、获取相似skn的配置
79 int rtSimSknCount = recallConfigService.queryStrategyConfigSize(userRecallRequest, StrategyEnum.RT_SIM_SKN, 0); 79 int rtSimSknCount = recallConfigService.queryStrategyConfigSize(userRecallRequest, StrategyEnum.RT_SIM_SKN, 0);
@@ -82,7 +82,7 @@ public class SknRecallRecallRequestResponseBuilder { @@ -82,7 +82,7 @@ public class SknRecallRecallRequestResponseBuilder {
82 } else { 82 } else {
83 rtSimSknCount = 0; 83 rtSimSknCount = 0;
84 } 84 }
85 - RecallLoggerHelper.infoDetail(userRecallRequest, "buildSknRequests, rtSimSknCount size is [{}]", recSknCount); 85 + RecallLoggerHelper.infoDetail(userRecallRequest, "buildRecallRequestsForSkn, rtSimSknCount size is [{}]", recSknCount);
86 86
87 //4、执行查询 87 //4、执行查询
88 if (filterSknList.isEmpty()) { 88 if (filterSknList.isEmpty()) {
@@ -19,7 +19,7 @@ public class SortBrandRecallRequestBuilder { @@ -19,7 +19,7 @@ public class SortBrandRecallRequestBuilder {
19 @Autowired 19 @Autowired
20 private RecallConfigService recallConfigService; 20 private RecallConfigService recallConfigService;
21 21
22 - public List<RecallRequest> buildSortBrandRequests(UserRecallRequest userRecallRequest, UserPersonalFactor userPersonalFactor) { 22 + public List<RecallRequest> buildRecallRequestsForSortBrand(UserRecallRequest userRecallRequest, UserPersonalFactor userPersonalFactor) {
23 List<RecallRequest> requests = new ArrayList<>(); 23 List<RecallRequest> requests = new ArrayList<>();
24 requests.addAll(this.buildRealTimeSortBrandRequests(userRecallRequest, userPersonalFactor)); 24 requests.addAll(this.buildRealTimeSortBrandRequests(userRecallRequest, userPersonalFactor));
25 requests.addAll(this.buildVectorW2vSortBrandRequests(userRecallRequest, userPersonalFactor)); 25 requests.addAll(this.buildVectorW2vSortBrandRequests(userRecallRequest, userPersonalFactor));
@@ -30,25 +30,25 @@ public class SortBrandRecallRequestBuilder { @@ -30,25 +30,25 @@ public class SortBrandRecallRequestBuilder {
30 30
31 private List<RecallRequest> buildRealTimeSortBrandRequests(UserRecallRequest userRecallRequest, UserPersonalFactor userPersonalFactor) { 31 private List<RecallRequest> buildRealTimeSortBrandRequests(UserRecallRequest userRecallRequest, UserPersonalFactor userPersonalFactor) {
32 List<RecallRequest> requests = this.buildSortBrandRecallRequests(userRecallRequest, userPersonalFactor.getRealTimeSortBrandList(), SortBrandType.REC_SORT_BRAND); 32 List<RecallRequest> requests = this.buildSortBrandRecallRequests(userRecallRequest, userPersonalFactor.getRealTimeSortBrandList(), SortBrandType.REC_SORT_BRAND);
33 - RecallLoggerHelper.infoDetail(userRecallRequest, "buildSortBrandRequests, REC_SORT_BRAND size is [{}]", requests.size()); 33 + RecallLoggerHelper.infoDetail(userRecallRequest, "buildRecallRequestsForSortBrand, REC_SORT_BRAND size is [{}]", requests.size());
34 return requests; 34 return requests;
35 } 35 }
36 36
37 private List<RecallRequest> buildVectorW2vSortBrandRequests(UserRecallRequest userRecallRequest, UserPersonalFactor userPersonalFactor) { 37 private List<RecallRequest> buildVectorW2vSortBrandRequests(UserRecallRequest userRecallRequest, UserPersonalFactor userPersonalFactor) {
38 List<RecallRequest> requests = this.buildSortBrandRecallRequests(userRecallRequest, userPersonalFactor.getVectorW2vSortBrandList(), SortBrandType.VEC_W2V_SORT_BRAND); 38 List<RecallRequest> requests = this.buildSortBrandRecallRequests(userRecallRequest, userPersonalFactor.getVectorW2vSortBrandList(), SortBrandType.VEC_W2V_SORT_BRAND);
39 - RecallLoggerHelper.infoDetail(userRecallRequest, "buildSortBrandRequests, VEC_W2V_SORT_BRAND size is [{}]", requests.size()); 39 + RecallLoggerHelper.infoDetail(userRecallRequest, "buildRecallRequestsForSortBrand, VEC_W2V_SORT_BRAND size is [{}]", requests.size());
40 return requests; 40 return requests;
41 } 41 }
42 42
43 private List<RecallRequest> buildVectorRnnSortBrandRequests(UserRecallRequest userRecallRequest, UserPersonalFactor userPersonalFactor) { 43 private List<RecallRequest> buildVectorRnnSortBrandRequests(UserRecallRequest userRecallRequest, UserPersonalFactor userPersonalFactor) {
44 List<RecallRequest> requests = this.buildSortBrandRecallRequests(userRecallRequest, userPersonalFactor.getVectorRnnSortBrandList(), SortBrandType.VEC_RNN_SORT_BRAND); 44 List<RecallRequest> requests = this.buildSortBrandRecallRequests(userRecallRequest, userPersonalFactor.getVectorRnnSortBrandList(), SortBrandType.VEC_RNN_SORT_BRAND);
45 - RecallLoggerHelper.infoDetail(userRecallRequest, "buildSortBrandRequests, VEC_RNN_SORT_BRAND size is [{}]", requests.size()); 45 + RecallLoggerHelper.infoDetail(userRecallRequest, "buildRecallRequestsForSortBrand, VEC_RNN_SORT_BRAND size is [{}]", requests.size());
46 return requests; 46 return requests;
47 } 47 }
48 48
49 private List<RecallRequest> buildConfigSortBrandRequests(UserRecallRequest userRecallRequest, UserPersonalFactor userPersonalFactor) { 49 private List<RecallRequest> buildConfigSortBrandRequests(UserRecallRequest userRecallRequest, UserPersonalFactor userPersonalFactor) {
50 List<RecallRequest> requests = this.buildSortBrandRecallRequests(userRecallRequest, userPersonalFactor.getConfigSortBrandList(), SortBrandType.CONFIG_SORT_BRAND); 50 List<RecallRequest> requests = this.buildSortBrandRecallRequests(userRecallRequest, userPersonalFactor.getConfigSortBrandList(), SortBrandType.CONFIG_SORT_BRAND);
51 - RecallLoggerHelper.infoDetail(userRecallRequest, "buildSortBrandRequests, CONFIG_SORT_BRAND size is [{}]", requests.size()); 51 + RecallLoggerHelper.infoDetail(userRecallRequest, "buildRecallRequestsForSortBrand, CONFIG_SORT_BRAND size is [{}]", requests.size());
52 return requests; 52 return requests;
53 } 53 }
54 54