修复MAAT_OPT_SCAN_DETAIL选项的默认值,应为返回命中位置,随不能发挥最大性能,但可以保持向前兼容。

This commit is contained in:
zhengchao
2017-06-13 20:19:16 +08:00
parent 37a94ea838
commit 96910820bb
2 changed files with 2 additions and 4 deletions

View File

@@ -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);

View File

@@ -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",