安装的是SCWS-1.1.3 PHP是5.16的会有影响吗? $cws = scws_new(); $cws->set_charset('gbk'); $cws->set_rule('/usr/local/scws/etc/rules.ini'); $cws->set_dict('/usr/local/scws/etc/dict.xdb'); $cws->send_text('我爱看电影,不知道电影院里有什么?'); 分词的结果竟...
... [7] => Array ( [word] => 我 [off] => 16 [len] => 2 [idf] => 0 [attr] => un ) [8] => Array ( [word] => 会 [off] => 18 [len] => 2 [idf] => 0 ...
... [7] => Array ( [word] => 我 [off] => 16 [len] => 2 [idf] => 0 [attr] => un ) [8] => Array ( [word] => 会 [off] => 18 [len] => 2 [idf] => 0 ...
...环境 windows 2008 32位 IIS7 PHP 5.3.4 VC9 NTS PHP.INI [code] [16-Dec-2010 13:17:41] PHP Warning: PHP Startup: scws: Unable to initialize module Module compiled with build ID=API20090626,TS,VC6 PHP compiled with build ID=API20090626,NTS,VC9 These options need to match in Unknown o...
...摝锛?灞曠幇浣犵嫭鍒版兂娉曚笌鍙f墠锛? 2013-09-09 00:03:16 worker2[21759] ALERT caught exceptional signal[11], terminate immediately 2013-09-09 00:03:16 ~master[21752] ALERT child process worker[2] exit (PID:21759, STATUS:-1) 2013-09-09 00:03:16 ~master[21752] ALERT spawned chil...
...oot 235919 7月 11 07:07 memcache.so -rwxr-xr-x 1 root root 72844 7月 16 14:26 scws.so -rwxr-xr-x 1 root root 117220 7月 15 00:13 sphinx.so 啟動或重起 apache 時並不會有錯誤訊息, 執行一段小測試程式 執行結果是連 echo 該出來的訊息都沒有出來. 我...
...:CentOS 6.x 硬盘:sata 2代 7200转 ------ 真实的内存只有16G, 上面的CENTOS是虚拟出来的 这个服务器现在运行了: 3个XP(基本没运行什么) 1个Win7 (并且开了爬虫在采集) 1个CENTOS(就是我现在用来测试xunsearch的机器) ----------...
... ["_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":...
...改 libscws/scws.c 然后重新编译 [code] *** scws.c Sun May 9 01:16:11 2010 --- scws.c.condj Thu Jun 24 11:00:20 2010 *************** *** 326,342 **** ch = txt[start]; if (pflag & PFLAG_DIGIT) { ! if (!SCWS_IS_DIGIT(ch)) { // strict must add: !$this->_...
[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 ...