Authored by hugufei

名称修改

@@ -87,7 +87,7 @@ public class FuzzySceneService extends AbstractSceneService { @@ -87,7 +87,7 @@ public class FuzzySceneService extends AbstractSceneService {
87 // 4、获取自定义标签聚合结果 87 // 4、获取自定义标签聚合结果
88 CompletableFuture<SearchApiResult> customizeTagFuture = CompletableFuture.supplyAsync(() -> sceneAggregationsHelper.sceneAggCustomizeTag(this.newParamMap(paramMap)), executor); 88 CompletableFuture<SearchApiResult> customizeTagFuture = CompletableFuture.supplyAsync(() -> sceneAggregationsHelper.sceneAggCustomizeTag(this.newParamMap(paramMap)), executor);
89 // 5、获取促销专题 89 // 5、获取促销专题
90 - CompletableFuture<SearchApiResult> promotionsFuture = CompletableFuture.supplyAsync(() -> sceneAggregationsHelper.sceneAggRecommendPromotion(this.newParamMap(paramMap)), 90 + CompletableFuture<SearchApiResult> promotionsFuture = CompletableFuture.supplyAsync(() -> sceneAggregationsHelper.sceneAggPromotion(this.newParamMap(paramMap)),
91 executor); 91 executor);
92 92
93 // 6、加入建议词 93 // 6、加入建议词
@@ -100,7 +100,7 @@ public class SortSceneService extends AbstractSceneService { @@ -100,7 +100,7 @@ public class SortSceneService extends AbstractSceneService {
100 // 3、获取聚合结果 100 // 3、获取聚合结果
101 CompletableFuture<SearchApiResult> standardsFuture = CompletableFuture.supplyAsync(() -> sceneAggregationsHelper.sceneAggStandard(this.newParamMap(paramMap)), executorService); 101 CompletableFuture<SearchApiResult> standardsFuture = CompletableFuture.supplyAsync(() -> sceneAggregationsHelper.sceneAggStandard(this.newParamMap(paramMap)), executorService);
102 CompletableFuture<SearchApiResult> customizeTagFuture = CompletableFuture.supplyAsync(() -> sceneAggregationsHelper.sceneAggCustomizeTag(this.newParamMap(paramMap)),executorService); 102 CompletableFuture<SearchApiResult> customizeTagFuture = CompletableFuture.supplyAsync(() -> sceneAggregationsHelper.sceneAggCustomizeTag(this.newParamMap(paramMap)),executorService);
103 - CompletableFuture<SearchApiResult> promotionsFuture = CompletableFuture.supplyAsync(() -> sceneAggregationsHelper.sceneAggRecommendPromotion(this.newParamMap(paramMap)),executorService); 103 + CompletableFuture<SearchApiResult> promotionsFuture = CompletableFuture.supplyAsync(() -> sceneAggregationsHelper.sceneAggPromotion(this.newParamMap(paramMap)),executorService);
104 // 4、组合结果 104 // 4、组合结果
105 SearchApiResult productList = productListFuture.get(); 105 SearchApiResult productList = productListFuture.get();
106 SearchApiResult standards = standardsFuture.get(); 106 SearchApiResult standards = standardsFuture.get();
@@ -97,8 +97,8 @@ public class SceneAggregationsHelper { @@ -97,8 +97,8 @@ public class SceneAggregationsHelper {
97 * @param paramMap 97 * @param paramMap
98 * @return 98 * @return
99 */ 99 */
100 - @SearchCacheAble(cacheName = "SCENE_AGG_RECOMMENDPROMOTION", cacheInMinute = 30, excludeParams = { "uid", "order", "page", "viewNum", "yh_channel" })  
101 - public SearchApiResult sceneAggRecommendPromotion(Map<String, String> paramMap) { 100 + @SearchCacheAble(cacheName = "SCENE_AGG_PROMOTION", cacheInMinute = 30, excludeParams = { "uid", "order", "page", "viewNum", "yh_channel" })
  101 + public SearchApiResult sceneAggPromotion(Map<String, String> paramMap) {
102 try { 102 try {
103 // 1、获取aggregation 103 // 1、获取aggregation
104 IAggregation aggregation = aggregationFactoryService.getRecommendPromotionAggregation(50); 104 IAggregation aggregation = aggregationFactoryService.getRecommendPromotionAggregation(50);
@@ -191,8 +191,8 @@ public class SceneAggregationsHelper { @@ -191,8 +191,8 @@ public class SceneAggregationsHelper {
191 * @param paramMap 191 * @param paramMap
192 * @return 192 * @return
193 */ 193 */
194 - @SearchCacheAble(cacheName = "SCENE_AGG_RECOMMEND_BRAND", cacheInMinute = 30, excludeParams = { "order", "page", "viewNum", "yh_channel" })  
195 - public SearchApiResult sceneAggRecommendBrand(Map<String, String> paramMap) { 194 + @SearchCacheAble(cacheName = "SCENE_RECOMMEND_BRAND", cacheInMinute = 30, excludeParams = { "order", "page", "viewNum", "yh_channel" })
  195 + public SearchApiResult sceneRecommendBrand(Map<String, String> paramMap) {
196 try { 196 try {
197 // 1、获取核心参数 197 // 1、获取核心参数
198 SearchParam searchParam = searchParamHelper.buildWithPersional(paramMap, true); 198 SearchParam searchParam = searchParamHelper.buildWithPersional(paramMap, true);