Authored by hugufei

新列表场景测试

@@ -49,23 +49,23 @@ public class ProductListSwitchService { @@ -49,23 +49,23 @@ public class ProductListSwitchService {
49 if (!this.isPersionalScene(paramMap)) { 49 if (!this.isPersionalScene(paramMap)) {
50 return defaultProductListService.productListNotPersional(paramMap); 50 return defaultProductListService.productListNotPersional(paramMap);
51 } 51 }
52 - // 2、个性化时根据开关,决定是否使用高性能的场景-双11专用  
53 - boolean perfamanceStrategyOpen = searchDynamicConfigService.searchPersionalPerfamanceStrategyOpen();  
54 - if (perfamanceStrategyOpen) {  
55 - return performanceRecallProductListService.productList(paramMap);  
56 - }  
57 - // 3、品类页-是否使用品类页的召回策略  
58 - boolean sortPageRecallOpen = searchDynamicConfigService.isSortPageRecallOpen();  
59 - if (sortPageRecallOpen && searchCommonHelper.isSortPageDefault(paramMap)) {  
60 - return sortRecallProductListService.productList(paramMap);  
61 - }  
62 - // 4、是否使用新的召回策略  
63 - boolean searchPersionalNewStrategyOpen = searchDynamicConfigService.searchPersionalNewStrategyOpen();  
64 - if (searchPersionalNewStrategyOpen) { 52 +// // 2、个性化时根据开关,决定是否使用高性能的场景-双11专用
  53 +// boolean perfamanceStrategyOpen = searchDynamicConfigService.searchPersionalPerfamanceStrategyOpen();
  54 +// if (perfamanceStrategyOpen) {
  55 +// return performanceRecallProductListService.productList(paramMap);
  56 +// }
  57 +// // 3、品类页-是否使用品类页的召回策略
  58 +// boolean sortPageRecallOpen = searchDynamicConfigService.isSortPageRecallOpen();
  59 +// if (sortPageRecallOpen && searchCommonHelper.isSortPageDefault(paramMap)) {
  60 +// return sortRecallProductListService.productList(paramMap);
  61 +// }
  62 +// // 4、是否使用新的召回策略
  63 +// boolean searchPersionalNewStrategyOpen = searchDynamicConfigService.searchPersionalNewStrategyOpen();
  64 +// if (searchPersionalNewStrategyOpen) {
65 return sceneRecallProductListService.productList(paramMap); 65 return sceneRecallProductListService.productList(paramMap);
66 - }  
67 - // 5、默认-使用向量版本的个性化方案  
68 - return defaultProductListService.productListForDefaultPersional(paramMap); 66 +// }
  67 +// // 5、默认-使用向量版本的个性化方案
  68 +// return defaultProductListService.productListForDefaultPersional(paramMap);
69 } 69 }
70 70
71 private boolean isPersionalScene(Map<String, String> paramMap) { 71 private boolean isPersionalScene(Map<String, String> paramMap) {