Authored by hugufei

fix invalid data

... ... @@ -53,10 +53,9 @@ public class SknRecallCacheBean {
@Autowired
private SearchRedis searchRedis;
@Autowired
private EhCache ehCache;
@Autowired
private RecallConfigService recallConfigService;
// @Autowired
// private EhCache ehCache;
private static final Boolean recallWithCache = true;
... ...
package com.yoho.search.recall.beans.cache;
import com.alibaba.fastjson.JSON;
import com.yoho.search.recall.beans.builder.*;
import com.yoho.search.recall.beans.builder.CommonRecallRequestBuilder;
import com.yoho.search.recall.beans.builder.RecallMergerResultBuilder;
import com.yoho.search.recall.beans.builder.SortBrandRecallRequestBuilder;
import com.yoho.search.recall.beans.builder.UserRecallResponseBuilder;
import com.yoho.search.recall.beans.persional.QueryUserPersionalFactorBean;
import com.yoho.search.recall.beans.strategy.SortBrandType;
import com.yoho.search.recall.models.common.RecallMergerResult;
... ... @@ -12,7 +14,10 @@ import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.util.*;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
... ...