[code] project.name = 59n [bid] type = id [title] index = mixed weight = 5 [bc] index = mixed [cc] index = mixed [addtime] type = date tokenizer = none [/code] [php] ./Indexer.php --source=mysql://root:root@localhost/blog --sql="select b.bid,b.content AS bc,b.addtime,b.titl...
...我在项目中添加了Greta库后,scws_free_tops就出错了,错误[/code]提示是dbgheap.c line:1044... 单步调试后发现错误发生在scws_free_tops函数中的 [code]free(cur->word)[/code] 请问这种错误可能的原因?应该向什么方向解决呢? 我在scws_free_tops...
...xa186d48) 2012-05-22 16:17:04 worker3[21044] [sock:8] quit, result error (CODE:514) 2012-05-22 16:17:04 ~master[29076] child process worker[3] exit (PID:21044, STATUS:-2) 2012-05-22 16:17:04 ~master[29076] succesful to spawn child worker[3] process (PID:21054) 2012-05-22 16:17:04 worker3[21054] ...
...次都是 db_o这个无法清理,并且占用空间。 清理前: [code] 360M /data/xunsearch/data/db_product/db 2.9G /data/xunsearch/data/db_product/db_a 2.0G /data/xunsearch/data/db_product/db_o 208K /data/xunsearch/data/db_product/log_db 4.0K /data/xunsearch/data/db_product/search.lo...
1. ubuntu安装时:./setup.sh 错误提示:[code]Configuring xapian-core-scws ... ----- checking for library containing zlibVersion... -lz checking for uuid/uuid.h... no checking for uuid.h... no configure: error: Neither uuid/uuid.h nor uuid.h found - required for brass, chert and fli...
.c文件追加 [code] typedef struct xdb_tree_node { char *key; int vlen; int voff; struct xdb_tree_node* next; } xdb_tree_list, *xdb_tree_plist; int travel_index = -1; xdb_tree_plist _xdb_tree_plist = NULL; void _xdb_next_tree_read(xdb_t x, xptr_t ptr) { if (ptr->len...
...码等很多信息,所以换个简单的命令来论坛里问下。 [code][root@a107 ~]# /usr/local/php/bin/php /usr/local/xunsearch/sdk/php/util/Indexer.php --project=xxx –-source=mysql://xxx:xxx@localhost/xxx --sql="select ID,post_title,post_content,UNIX_TIMESTAMP(post_date) as post_time fr...
...数后没有继续判断scws构体中xdict_t 和 rule_t 指针了。 [code]int scws_add_dict(scws_t s, const char *fpath, int mode) { xdict_t xx; if (mode & SCWS_XDICT_SET) { xdict_close(s->d); mode ^= SCWS_XDICT_SET; s->d = NULL; } xx = s->d; s->d = xdict_add(s->d, fpath,...
...ict,无没问题。我的相关代码及设置: 1. php.ini的设置 [code] [hightman@d1 hightman]$ php -i | grep scws scws SCWS BugReport => http://www.ftphp.com/scws scws.default.charset => utf8 => utf8 scws.default.fpath => /usr/local/scws/etc => /usr/local/scws/etc [/code] 2. 测...
...teline='1316156077'] 1. ubuntu安装时:./setup.sh 错误提示:[code]Configuring xapian-core-scws ... ----- checking for library containing zlibVersion... -lz checking for uuid/uuid.h... no checking for uuid.h... no configure: error: Neither uuid/uuid.h nor uuid.h found - required fo...