1
|
package com.yoho.search.recall.beans.cache;
|
1
|
package com.yoho.search.recall.beans.cache;
|
2
|
|
2
|
|
3
|
-import com.alibaba.fastjson.JSON;
|
|
|
4
|
-import com.yoho.search.recall.beans.builder.*;
|
3
|
+import com.yoho.search.recall.beans.builder.CommonRecallRequestBuilder;
|
|
|
4
|
+import com.yoho.search.recall.beans.builder.RecallMergerResultBuilder;
|
|
|
5
|
+import com.yoho.search.recall.beans.builder.SortBrandRecallRequestBuilder;
|
|
|
6
|
+import com.yoho.search.recall.beans.builder.UserRecallResponseBuilder;
|
5
|
import com.yoho.search.recall.beans.persional.QueryUserPersionalFactorBean;
|
7
|
import com.yoho.search.recall.beans.persional.QueryUserPersionalFactorBean;
|
6
|
import com.yoho.search.recall.beans.strategy.SortBrandType;
|
8
|
import com.yoho.search.recall.beans.strategy.SortBrandType;
|
7
|
import com.yoho.search.recall.models.common.RecallMergerResult;
|
9
|
import com.yoho.search.recall.models.common.RecallMergerResult;
|
|
@@ -12,7 +14,10 @@ import org.slf4j.LoggerFactory; |
|
@@ -12,7 +14,10 @@ import org.slf4j.LoggerFactory; |
12
|
import org.springframework.beans.factory.annotation.Autowired;
|
14
|
import org.springframework.beans.factory.annotation.Autowired;
|
13
|
import org.springframework.stereotype.Component;
|
15
|
import org.springframework.stereotype.Component;
|
14
|
|
16
|
|
15
|
-import java.util.*;
|
17
|
+import java.util.ArrayList;
|
|
|
18
|
+import java.util.HashMap;
|
|
|
19
|
+import java.util.List;
|
|
|
20
|
+import java.util.Map;
|
16
|
import java.util.concurrent.CompletableFuture;
|
21
|
import java.util.concurrent.CompletableFuture;
|
17
|
import java.util.concurrent.ExecutorService;
|
22
|
import java.util.concurrent.ExecutorService;
|
18
|
import java.util.concurrent.Executors;
|
23
|
import java.util.concurrent.Executors;
|