1
|
package com.yoho.search.service.scene.common;
|
1
|
package com.yoho.search.service.scene.common;
|
2
|
|
2
|
|
3
|
-<<<<<<< HEAD
|
|
|
4
|
import com.alibaba.fastjson.JSONArray;
|
3
|
import com.alibaba.fastjson.JSONArray;
|
5
|
-=======
|
|
|
6
|
import java.util.ArrayList;
|
4
|
import java.util.ArrayList;
|
7
|
import java.util.HashMap;
|
5
|
import java.util.HashMap;
|
8
|
import java.util.List;
|
6
|
import java.util.List;
|
|
@@ -17,8 +15,6 @@ import org.slf4j.Logger; |
|
@@ -17,8 +15,6 @@ import org.slf4j.Logger; |
17
|
import org.slf4j.LoggerFactory;
|
15
|
import org.slf4j.LoggerFactory;
|
18
|
import org.springframework.beans.factory.annotation.Autowired;
|
16
|
import org.springframework.beans.factory.annotation.Autowired;
|
19
|
import org.springframework.stereotype.Service;
|
17
|
import org.springframework.stereotype.Service;
|
20
|
-
|
|
|
21
|
->>>>>>> 72f2270bacc8afa04b74ad355cd7b0173b5d0002
|
|
|
22
|
import com.alibaba.fastjson.JSONObject;
|
18
|
import com.alibaba.fastjson.JSONObject;
|
23
|
import com.yoho.search.base.utils.ISearchConstants;
|
19
|
import com.yoho.search.base.utils.ISearchConstants;
|
24
|
import com.yoho.search.common.cache.SearchCacheMatchLogger;
|
20
|
import com.yoho.search.common.cache.SearchCacheMatchLogger;
|
|
@@ -30,25 +26,6 @@ import com.yoho.search.models.SearchApiResult; |
|
@@ -30,25 +26,6 @@ import com.yoho.search.models.SearchApiResult; |
30
|
import com.yoho.search.service.aggregations.impls.AggregationFactoryService;
|
26
|
import com.yoho.search.service.aggregations.impls.AggregationFactoryService;
|
31
|
import com.yoho.search.service.base.SearchCommonService;
|
27
|
import com.yoho.search.service.base.SearchCommonService;
|
32
|
import com.yoho.search.service.helper.SearchParamHelper;
|
28
|
import com.yoho.search.service.helper.SearchParamHelper;
|
33
|
-<<<<<<< HEAD
|
|
|
34
|
-import com.yoho.search.service.service.IAggRecommendService;
|
|
|
35
|
-import org.elasticsearch.index.query.BoolQueryBuilder;
|
|
|
36
|
-import org.elasticsearch.search.aggregations.AbstractAggregationBuilder;
|
|
|
37
|
-import org.elasticsearch.search.aggregations.Aggregation;
|
|
|
38
|
-import org.slf4j.Logger;
|
|
|
39
|
-import org.slf4j.LoggerFactory;
|
|
|
40
|
-import org.springframework.beans.factory.annotation.Autowired;
|
|
|
41
|
-import org.springframework.stereotype.Service;
|
|
|
42
|
-
|
|
|
43
|
-import java.util.ArrayList;
|
|
|
44
|
-import java.util.HashMap;
|
|
|
45
|
-import java.util.List;
|
|
|
46
|
-import java.util.Map;
|
|
|
47
|
-import java.util.concurrent.CompletableFuture;
|
|
|
48
|
-import java.util.concurrent.ExecutorService;
|
|
|
49
|
-import java.util.concurrent.Executors;
|
|
|
50
|
-=======
|
|
|
51
|
->>>>>>> 72f2270bacc8afa04b74ad355cd7b0173b5d0002
|
|
|
52
|
|
29
|
|
53
|
@Service
|
30
|
@Service
|
54
|
public class SceneSelectionsService extends AbstractCacheAbleService {
|
31
|
public class SceneSelectionsService extends AbstractCacheAbleService {
|