...exer.php(176): ob_flush(): failed to flush buffer. No buffer to flush.(8) #0 [internal function]: xs_error_handler(8, 'ob_flush(): fai...', '/usr/local/xuns...', 176, Array) #1 /usr/local/xunsearch/sdk/php/util/Indexer.php(176): ob_flush() #2 {main} 我的系统是centos5.5 yum安装的apahce php ...
日志中出现大量的类似日志: 2012-05-22 16:17:04 worker3[21044] [sock:8] task canceld, run the cleanup (ZARG:0xa186d48) 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...
...k/php/util/Quest.php -p demo -c gbk -q 桌面 --limit=2 返回 Object id #10 0 ../lib/XS.php(2246): XSServer->read(8) 1 ../lib/XS.php(2231): XSServer->getRespond() 2 ../lib/XS.php(2208): XSServer->execCommand(Array, 201) 3 ../lib/XS.php(2169): XSServer->setProject('cms_51cto') 4 ../lib/XS.php...
...k/php/util/Quest.php -p demo -c gbk -q 桌面 --limit=2 返回 Object id #10 0 ../lib/XS.php(2246): XSServer->read(8) 1 ../lib/XS.php(2231): XSServer->getRespond() 2 ../lib/XS.php(2208): XSServer->execCommand(Array, 201) 3 ../lib/XS.php(2169): XSServer->setProject('cms_51cto') 4 ../lib/XS.php...
...s.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] => 0 [attr]...
...结果 Xapian::Query((疯:(pos=1) AND_MAYBE GD1))[hr] //输出结果 [0] => XSDocument Object ( [_data:XSDocument:private] => Array ( [gid] => 27490 [name] => 摩托车疯狂2 [pid] => 3 ...
...返回结果是这样的, a:2:{s:6:"status";s:2:"ok";s:5:"words";a:1:{i:0;a:5:{s:4:"word";s:12:"在线测试";s:3:"off";i:0;s:3:"len";i:12;s:3:"idf";d:8.19999980926513671875;s:4:"attr";s:1:"n";}}} 我如何用php从中提取出分词结果,谢谢
[quote='hightman' pid='7' dateline='1315934809'] 您 的PHP版本?是否先运行 util/RequiredCheck.php 测试一下,看上去你的PHP似乎 不支持 __toString() [/quote] 谢谢您的回复,我把错误打出来了,大致是这样的一个错,不像是String的问题: [root@loc...
...- -- 表的结构 `cdb_posts` -- CREATE TABLE `cdb_posts` ( `pid` int(10) unsigned NOT NULL auto_increment, `fid` smallint(6) unsigned NOT NULL default '0', `tid` mediumint(8) unsigned NOT NULL default '0', `first` tinyint(1) NOT NULL default '0', `author` varchar(15) NOT NULL default ''...
...动,另外一个提示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 14179 Process 14...