Commit 5b3f996b by 303514581@qq.com

2019/3/8 backup事件过滤规则添加

parent 042fd7e6
......@@ -71,9 +71,7 @@ public class ES4RedisStart {
// 遍历项目
for (Project project : projects) {
// if(!project.getProjectName().equals("测试")) {
// continue;
// }
if (pcount >= PROJECTCOUNT) {
continue;
}
......@@ -84,6 +82,10 @@ public class ES4RedisStart {
pcount++;
}
// if(!project.getProjectName().equals("测试")) {
// continue;
// }
/**
* 项目全部平台(公共+私有)
*/
......
......@@ -54,7 +54,8 @@ public class EventServiceImpl implements EventService {
private static final List<String> SOURCENOTRULE = Arrays.asList("主页", "网页", "首页", "平台首页", "早报", "手机版", "null");
/** 事件采集url过滤条件 **/
private static final List<String> URLNOTRULE = Arrays.asList("zhihu.com", "ali.71zs.com", "v.qq.com", "v.youku.com",
"iqiyi.com", "v.pptv.com", "zuanke8.com", "weibo.com", "socialbeta.com", "www.baidu.com/link?url=", "null");
"iqiyi.com", "v.pptv.com", "zuanke8.com", "weibo.com", "socialbeta.com", "www.baidu.com/link?url=",
"blog.sina.cn", "blog.sina.com.cn", "null");
@Autowired
@Qualifier(value = "primaryMongoTemplate")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment