用户模糊搜索的个性化向量缓存时间改为30分钟
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -30,7 +30,7 @@ public class PersonalVectorFeatureSearch { | @@ -30,7 +30,7 @@ public class PersonalVectorFeatureSearch { | ||
30 | @Autowired | 30 | @Autowired |
31 | private BigDataRedisService bigDataRedisService; | 31 | private BigDataRedisService bigDataRedisService; |
32 | 32 | ||
33 | - @SearchCacheAble(cacheInMinute = 10, cacheName = "PERSIONAL_VECTOR", returnClass = PersonalizedSearch.class, cacheType = CacheType.SEARCH_REDIS, includeParams = { "uid" }) | 33 | + @SearchCacheAble(cacheInMinute = 30, cacheName = "PERSIONAL_VECTOR", returnClass = PersonalizedSearch.class, cacheType = CacheType.SEARCH_REDIS, includeParams = { "uid" }) |
34 | public PersonalizedSearch getPersonalizedSearch(Map<String, String> paramMap) { | 34 | public PersonalizedSearch getPersonalizedSearch(Map<String, String> paramMap) { |
35 | try { | 35 | try { |
36 | // 1、参数校验 | 36 | // 1、参数校验 |
-
Please register or login to post a comment