@@ -47,12 +47,16 @@ func StartExtractTestTask(taskId, startId, num, resultcoll, trackcoll string) bo
ext.InitSite()
ext.InitRulePres()
ext.InitRuleBacks(false)
+ ext.InitRuleBacks(true)
ext.InitRuleCore(false)
+ ext.InitRuleCore(true)
ext.InitPkgCore()
ext.InitBlockRule()
ext.InfoTypeList()
ext.InitTag(false)
+ ext.InitTag(true)
ext.InitClearFn(false)
+ ext.InitClearFn(true)
if ext.IsExtractCity { //版本上控制是否开始城市抽取
//初始化城市DFA信息
ext.InitCityInfo()
@@ -125,12 +129,16 @@ func StartExtractTaskId(taskId string) bool {
//ext.InitCityDFA()
@@ -79,11 +79,15 @@ func com(doc map[string]interface{}) {
e.InitSite()
e.InitRulePres()
e.InitRuleBacks(false)
+ e.InitRuleBacks(true)
e.InitRuleCore(false)
+ e.InitRuleCore(true)
e.InitBlockRule()
e.InitPkgCore()
e.InitTag(false)
+ e.InitTag(true)
e.InitClearFn(false)
+ e.InitClearFn(true)
if e.IsExtractCity { //版本上控制是否开始城市抽取
e.InitCityDFA()