...效,输出来的还是uft-8;求助我错在那里? require '/usr/local/xunsearch/sdk/php/lib/XS.php'; $xs = new XS('allsource'); // 建立 XS 对象,项目名称为:demo $search = $xs->search; // 获取 搜索对象 $query = '部分'; // 这里的搜索语句很简单,就一个短...
[XSException] ../../../usr/local/xunsearch/sdk/php/lib/XS.php(1552): Unexpected respond in search {CMD:129, ARG:514} 代码如下 $xs = new XS('discuz'); $tokenizer = new XSTokenizerScws; $subject = $tokenizer->getTops($forumattr['subject'], 20, 'n,ns'); $stack = array(); foreach($subject as $wor...
..... PHP Fatal error: Call to undefined function json_last_error() in /usr/local/xunsearch/sdk/php/util/XSDataSource.class.php on line 332 过滤器 debug 不显示 json导入出错
...IP:8383 server.search =搜索服务器外网IP:8384 监听也是 /usr/local/xunsearch/bin/xs-ctl.sh -b 搜索应用程序服务器IP restart 同台服务器测试都没问题 能搜索 [attachment=27]
...kenizer = none [/code] [php] ./Indexer.php --source=mysql://root:root@localhost/blog --sql="select b.bid,b.content AS bc,b.addtime,b.title,c.content AS CC from blog b,comment c where b.bid = c.bid" /usr/local/xunsearch/sdk/php/app/59n.ini [/php] [code] [XSException] ../lib/XS.php(2202): C...
...的bin/目录下) [color=#FF0000]3) 执行 ./configure --with-scws=/usr/local/scws [/color] 执行第3步时出现 checking for gawk... no checking for nawk... nawk checking if nawk is broken... no checking for scws support... yes, shared checking for scws_new in -lscws... no [color=#FF...
...确吗??? 行以后,返回什么结果是正确的结果呢 /usr/local/xunsearch/sdk/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->execCo...
...确吗??? 行以后,返回什么结果是正确的结果呢 /usr/local/xunsearch/sdk/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->execCo...
... Fatal error: Call to undefined method XSSearch::getFieldId() in /usr/local/xunsearch/sdk/php/lib/XS.php on line 337 经排查发现是eAccelerator 在处理 XSFieldScheme 的缓存对象时出现错误。 因此我们现在修改代码让序列化、反序列化发生成应用代码层面,...
我使用 /usr/local/xunsearch/bin/xs-ctl.sh stop 后提示 INFO: stopping server[xs-indexd] (BIND:127.0.0.1:8383) .... [OK] INFO: stopping server[xs-searchd] (BIND:127.0.0.1:8384) .... [OK] 但是输入 [root@localhost ~]# ps -ef | grep xs root 8781 1 0 03:36 ? 00:00:12 ...