...
|
...
|
@@ -20,6 +20,7 @@ import org.springframework.stereotype.Component; |
|
|
|
|
|
import com.yoho.search.base.utils.ISearchConstants;
|
|
|
import com.yoho.search.base.utils.ProductIndexEsField;
|
|
|
import com.yoho.search.common.cache.CacheType;
|
|
|
import com.yoho.search.common.cache.aop.SearchCacheAble;
|
|
|
import com.yoho.search.core.es.model.SearchParam;
|
|
|
import com.yoho.search.core.es.model.SearchResult;
|
...
|
...
|
@@ -49,7 +50,7 @@ public class CommonPageRecallService extends BaseRecallService { |
|
|
* @param paramMap
|
|
|
* @return
|
|
|
*/
|
|
|
@SearchCacheAble(cacheInMinute = 10, cacheName = "COMMON_PAGE_RECALL_BATCH",returnClass = CommonRecallResult.class, excludeParams = { "uid", "order", "page" })
|
|
|
@SearchCacheAble(cacheInMinute = 10, cacheName = "COMMON_PAGE_RECALL_BATCH",cacheType=CacheType.EHCACHE,returnClass = CommonRecallResult.class, excludeParams = { "uid", "order", "page" })
|
|
|
public CommonRecallResult doCommonPageRecallBatch(Map<String, String> paramMap) {
|
|
|
try {
|
|
|
int viewNum = this.getViewNum(paramMap);
|
...
|
...
|
|