...子代码上加入了 scws_set_multi(s , 1); [code] #include #include main() { scws_t s; scws_res_t res, cur; char *text = "上海市"; if (!(s = scws_new())) { printf("error, can't init the scws_t!\n"); exit(-1); } scws_set_charset(s, "utf-8"); scws_set_dict(s, "/usr/local/etc/dict.u...
...db.lo xtree.lo /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../libcygwin.a(libcmain.o):(.text+0xa9): undefined reference to `_WinMain@16' collect2: ld returned 1 exit status make[2]: *** [libscws.la] Error 1 make[2]: Leaving directory `/home/sundaming/scws-1.1.6/libscws' make[1]: *** [all-recursive]...
...g/trunkey/wwwroot/index.php(110): XSIndex->update(Object(XSDocument)) #3 {main}
...cCommand(Array, 208) #3 Indexer.php(180): XSServer->setTimeout(1000) #4 {main}
...49): XS->getIndex() #5 Indexer.php(155): XSComponent->__get('index') #6 {main} 什么问题,希望有人解答 谢谢
...execCommand(Array, 257) #1 Indexer.php(241): XSIndex->beginRebuild() #2 {main} [b]这是咋回事?[/b] 2、我又换成--stop-rebuild,可以成功建索引,[b]这是怎么回事?[/b] 但是,在data目录下看到的是 db.re这个目录。必须手动实行: $ rm -rf db $ mv...
.....') #3 util/Indexer.php(120): XS->__construct('/www/xunsearch/...') #4 {main} [root@localhost php]# 请管理员看看,是什么问题,是目录问题吗?
...ommand(Object(XSCommand), 206) #1 Quest.php(221): XSSearch->search() #2 {main} 请问怎么解决?
...): XSDataSource::instance('mysql://root:12...', 'SELECT * FROM d...') #4 {main} [root@localhost ~]# 请问是什么错误?[hr] 已解决,是php.ini里没指定mysql.sock路径
...49): XS->getIndex() #4 Indexer.php(155): XSComponent->__get('index') #5 {main} [/code]