HI! I COMPILED THE LIB! SO COMPLECATE, I'LL TRY TO USED IT, THANKS ADVANCE.....
...? 忘记说了,我用的编码都是utf8 还有就是如果我用 $so->set_dict('C:/Program Files/scws/etc/dict.xdb'); $so->set_rule('C:/Program Files/scws/etc/rules.utf8.ini'); 就会有警告: Warning: SimpleCWS::set_dict() [function.SimpleCWS-set-dict]: open_basedir restriction in eff...
.../../..(2140): Failed to recv the data from server completely (SIZE:0/8, REASON:closed) 分类: Fatal error: Uncaught [XSErrorException] ../../..(243): array_sum(): The argument should be an array(2) thrown in D:\web\www[/align]\so\sdk\php\lib\XS.php on line 477
...充数据 cd /usr/local/xunsearch/sdk/php util/Indexer.php --rebuild --source=mysql://数据库用户名字:数据库密码@localhost/数据库名字 --sql="select did, tag, title, content from wiki_doc" --filter=debug --project=go >log.txt 说明:a,使用>log.txt是因为我的ssh显示乱...
...不给力[/color]! b,专业词汇搜索 http://www.geneontology.cn/so/search.php 这个词条约16000,手工+python连接mysql导入(数据库约10M,xunsearch索引文件约10几M,建立索引约半分钟)。 用着都不错! 看图: [attachment=29] 有问题可以交流,...
请问你安装了 scws 主程序了吗? /usr/local/scws /usr/local/scws/lib/libscws.so 存在? 也就是 scws-1.1.3.tar.bz2 解压后应先在主目录下安装 scws,然后再进入 phpext/ 来安装
thanx for your reply, i compile the lib yestoday, it rely on php5.3.3 source like php.h,php_ini.h ect, so must i set php 5.3.3 main, ext, zend for the globle include directory, but last thing i cause is no config_w32.h in main, i got some help online, the config_w32.h file must be compile by myself...
...码,我要右键选择编码,完后复制的![hr] extension = scws.so scws.default.charset = utf8 scws.default.fpath = /usr/local/scws/etc
...官方那个xungle弄的那么好看,见: http://www.geneontology.cn/so/search.php 能够提供hdwiki的ini和导入sql的代码,就更完美啦,呵呵(这个要求有点过分了吧?呵呵) 谢谢啦!
...,运行/usr/local/scws/bin/scws -h 是不能运行的,只好在/etc/ld.so.conf中加入scws的lib路径才可以运行,但test.c测试程序无法编译,错误信息: test.c:1:10: #include expects "FILENAME" or test.c: In function `main': test.c:4: error: `scws_t' undeclared (first use...