From 96910820bb30fcfe4d1665ce371e47deb771597b Mon Sep 17 00:00:00 2001 From: zhengchao Date: Tue, 13 Jun 2017 20:19:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DMAAT=5FOPT=5FSCAN=5FDETAIL?= =?UTF-8?q?=E9=80=89=E9=A1=B9=E7=9A=84=E9=BB=98=E8=AE=A4=E5=80=BC=EF=BC=8C?= =?UTF-8?q?=E5=BA=94=E4=B8=BA=E8=BF=94=E5=9B=9E=E5=91=BD=E4=B8=AD=E4=BD=8D?= =?UTF-8?q?=E7=BD=AE=EF=BC=8C=E9=9A=8F=E4=B8=8D=E8=83=BD=E5=8F=91=E6=8C=A5?= =?UTF-8?q?=E6=9C=80=E5=A4=A7=E6=80=A7=E8=83=BD=EF=BC=8C=E4=BD=86=E5=8F=AF?= =?UTF-8?q?=E4=BB=A5=E4=BF=9D=E6=8C=81=E5=90=91=E5=89=8D=E5=85=BC=E5=AE=B9?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/entry/Maat_api.cpp | 4 +--- src/entry/Maat_rule.cpp | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/entry/Maat_api.cpp b/src/entry/Maat_api.cpp index e0c3bf9..965651a 100644 --- a/src/entry/Maat_api.cpp +++ b/src/entry/Maat_api.cpp @@ -452,9 +452,7 @@ Maat_feather_t Maat_feather(int max_thread_num,const char* table_info_path,void* feather->garbage_q=MESA_lqueue_create(0,0); feather->effect_interval_ms=60*1000; feather->scan_interval_ms=1*1000; - //Prepare for comptetion,return no hit detail as default for temporary. - feather->rule_scan_type=0; - //feather->rule_scan_type=2; + feather->rule_scan_type=2; feather->thread_call_cnt=aligment_int64_array_alloc(max_thread_num); feather->outer_mid_cnt=aligment_int64_array_alloc(max_thread_num); feather->inner_mid_cnt=aligment_int64_array_alloc(max_thread_num); diff --git a/src/entry/Maat_rule.cpp b/src/entry/Maat_rule.cpp index 75e9fa5..c7b57bb 100644 --- a/src/entry/Maat_rule.cpp +++ b/src/entry/Maat_rule.cpp @@ -28,7 +28,7 @@ #include "mesa_fuzzy.h" #include "great_index_engine.h" -int MAAT_FRAME_VERSION_1_9_20170609=1; +int MAAT_FRAME_VERSION_1_9_20170613=1; const char *maat_module="MAAT Frame"; const char* CHARSET_STRING[]={"NONE","gbk","big5","unicode","utf8","bin",