... ["_rebuild":"XSIndex":private]=> bool(false) ["xs"]=> object(XS)#16 (6) { ["_index":"XS":private]=> *RECURSION* ["_search":"XS":private]=> NULL ["_scws":"XS":private]=> NULL ["_scheme":"XS":private]=> object(XSFieldScheme)#17 (3) { ["_fields":...
mmbb:/usr/src/scws-0.0.1-pre/src# valgrind --tool=memcheck --leak-check=yes ./scwsc -r ../etc/rules.ini -d ../etc/dict.xdb -i "有用过NTFS的朋友抱怨" ==30624== Memcheck, a memory error detector. ==30624== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al. ==30624== Using LibVE...
... Attr Weight(times) ------------------------------------------------- 01. 加分 nz 9.46(1) 02. 考试题 n 8.01(1) 03. 媳妇 n 5.82(1) 04. 高手 n 4.80(1) 05. PHP en 2.75(1) ...
"1234_7890" 加了双引号搜索还是被拆分 string(70) "Xapian::Query((1234:(pos=1) PHRASE 3 _:(pos=2) PHRASE 3 7890:(pos=3)))"
...ext/scws.so: mach-o, but wrong architecture in Unknown on line 0 [Tue May 01 12:03:42 2012] [notice] Apache/2.2.22 (Unix) mod_wsgi/3.3 Python/2.7.2 mod_ssl/2.2.22 OpenSSL/0.9.8r PHP/5.3.10 configured -- resuming normal operations [Tue May 01 12:03:57 2012] [error] [client ::1] PHP Fatal error: Call...
...是:php_scws.dll(2) PHP扩展库 Windows/PHP 5.2.x 准确: 95%, 召回: 91%, 速度: 40KB/sec 在PHP里面运行后:显示 我|是|一|个|中|国|人|Array ( [0] => Array ( [word] => 我 [off] => 0 [len] => 3 [idf] => 0 [attr] => un ) [1] => Array ( [word] => 是 [off] => 3 [len] => 3 [idf...
...程starce就不动,另外一个提示Resource temporarily unavailable 14179 ? 00:00:00 xs-searchd 14186 ? 00:00:01 xs-searchd 14193 ? 00:00:00 xs-searchd 14212 pts/0 00:00:00 ps 31168 ? 00:00:47 xs-indexd 31171 ? 00:00:00 xs-searchd [root@edu ~]# strace -p 1...
那样就不是全文检索了,大概有几种办法: 1. 你把词典删除就可以搜索单字了。etc/dict.utf8.xdb ... 2. 或者要强制检索单还可以考虑修改C代码的部分,修改 src/import.h #define DEFAULT_SCWS_MULTI 3 把 3 改为 15 然后重新...
[quote='hightman' pid='26' dateline='1316505043'] 你最好贴出完整的调用命令,从提示看应该是你指定的 文件打不开。 [/quote] 这是我的做测试的时候用的命令 [root@server67 php]# ps auxw | grep xs root 15274 0.0 0.0 4096 668 pts/0 S+ 16:09 ...
... => Array ( [word] => 鎴 [off] => 0 [len] => 2 [idf] => 0 [attr] => un ) [1] => Array ( [word] => 戞 [off] => 2 [len] => 2 [idf] => 0 [attr] => un ) [2] => Array ( [word] => 槸 [off] => 4 [len] => 2 [idf] => 0 [attr] => un ) [3] => Array ( [word] => 涓 [off] => 6 [len] => 2 [idf] => 0 [attr] => ...