Authored by Gino Zhang

优化重构搜索推荐词

... ... @@ -26,6 +26,7 @@ import org.elasticsearch.search.sort.SortOrder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.util.Assert;
import java.util.*;
... ... @@ -34,6 +35,7 @@ import java.util.stream.Collectors;
/**
* Created by ginozhang on 2017/3/22.
*/
@Component
public class SearchRecommendServiceImpl implements ISearchRecommendService {
private static final Logger logger = LoggerFactory.getLogger(SearchRecommendServiceImpl.class);
... ...