Authored by Gino Zhang

每天只爬前100个词

@@ -16,7 +16,7 @@ public class SuggestionConstants { @@ -16,7 +16,7 @@ public class SuggestionConstants {
16 16
17 public static final Integer VALID_STATUS = Integer.valueOf(1); 17 public static final Integer VALID_STATUS = Integer.valueOf(1);
18 18
19 - public static final List<String> IGNORE_KEYWORDS = Arrays.asList("其他","正常","中文","中国","普通","2%"); 19 + public static final List<String> IGNORE_KEYWORDS = Arrays.asList("其他","正常","中文","中国","普通","2%","时尚");
20 20
21 /** 21 /**
22 * 返回智能搜索词的数量 22 * 返回智能搜索词的数量
@@ -35,7 +35,7 @@ public class IncrementCrawlerFlow implements RetryBusinessFlow { @@ -35,7 +35,7 @@ public class IncrementCrawlerFlow implements RetryBusinessFlow {
35 35
36 private static final Logger logger = LoggerFactory.getLogger("FLOW_EXECUTOR"); 36 private static final Logger logger = LoggerFactory.getLogger("FLOW_EXECUTOR");
37 37
38 - private static final int KEYWORD_COUNT = 1000; 38 + private static final int KEYWORD_COUNT = 100;
39 39
40 @Resource(name = "yhNoSyncZSetOperations") 40 @Resource(name = "yhNoSyncZSetOperations")
41 private YHZSetOperations<String, String> yhNoSyncZSetOperations; 41 private YHZSetOperations<String, String> yhNoSyncZSetOperations;