Authored by hugufei

召回和默认列表的时间修改为1分钟

... ... @@ -148,7 +148,7 @@ public class SearchCacheFactory {
*/
public SearchCache getFuzzySearchCache() {
CacheType cacheType = CacheType.SEARCH_REDIS;
int cacheInMinute = 15;
int cacheInMinute = 1;
return this.getOrCreateSearchCache("FUZZY", cacheType, cacheInMinute);
}
... ...
... ... @@ -33,7 +33,7 @@ public class DefaultProductListService {
* @param paramMap
* @return
*/
@SearchCacheAble(cacheName = "PRODUCT_LIST_NOT_PERSIONAL", cacheType = CacheType.SEARCH_REDIS, cacheInMinute = 10, excludeParams = {"uid", "udid", "firstProductSkn"})
@SearchCacheAble(cacheName = "PRODUCT_LIST_NOT_PERSIONAL", cacheType = CacheType.SEARCH_REDIS, cacheInMinute = 1, excludeParams = {"uid", "udid", "firstProductSkn"})
public SearchApiResult productListNotPersional(Map<String, String> paramMap) {
try {
// 1) 构建SearchParam
... ... @@ -57,7 +57,7 @@ public class DefaultProductListService {
* @param paramMap
* @return
*/
@SearchCacheAble(cacheName = "PRODUCT_LIST_DEFAULT_PERSIONAL", cacheType = CacheType.SEARCH_REDIS, cacheInMinute = 10)
@SearchCacheAble(cacheName = "PRODUCT_LIST_DEFAULT_PERSIONAL", cacheType = CacheType.SEARCH_REDIS, cacheInMinute = 1)
public SearchApiResult productListForDefaultPersional(Map<String, String> paramMap) {
try {
// 1) 构建SearchParam
... ...