...cking(): supplied argument is not a valid stream resource(2) #0 /usr/local/xunsearch/sdk/php/lib/XS.php(2210): xs_error_handler(2, 'stream_set_bloc...', '/usr/local/xuns...', 2210, Array) #1 /usr/local/xunsearch/sdk/php/lib/XS.php(2030): XSServer->connect(NULL, true) #2 /usr/local/xunsearch/sdk/php/...
1.安装xunsearch,参见文档:http://www.xunsearch.com/doc/php/guide/start.installation,这里不必多说 2.启动xunsearch $prefix/bin/xs-ctl.sh start,即可启动xunsearch 3.构建项目:首先参考文档:http://www.xunsearch.com/doc/php/guide/ini.guide 文档中说明了项目...
我使用 /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 ...
经过2个月的努力改进,很高兴于今天发布 xunsearch-1.4.0 正式版,该版本在内存使用、IO等方面做了较大的改进,大幅提升了搜索服务的性能及稳定性,同时加入了项目级的自定义词库功能。强烈建议所有用户升级到这个最新稳定...
...ttp://www.bigxu.com bigxu@foxmail.com # example : ./check.sh http://www.xunsearch.com/site/search?q=demo RE /data/www/xunsearch/bin/xs-ctl.sh /hom/bigxu/xu_restart.log > /dev/null 2>&1 & try_times=5 if [[ $1 == 'help' || $4'x' == 'x' ]] then echo "arg1 try:url,example http://www.xu...
后来查看进程,发现stop后还有xunsearch进程在运行,kill之,然后重启搞定。 后来查明原因是因为用bin/xs-ctl.sh -b inet start 启动,但关闭时用的bin/xs-ctl.sh restart ,这个的话就会出现上面描述的问题了。 其实就是用bin/xs-ctl.sh -b in...
1 安装xunsearch wget http://www.xunsearch.com/download/xunsearch-full-latest.tar.bz2 tar xjvf xunsearch-full-latest.tar.bz2 #目前是1.3.1 cd xunsearch-full-1.3.1/ sh setup.sh #默认装在/usr/local/xunsearch 2 启动xunsearch /usr/local/xunsearch/bin/xs-ctl.sh -b 对外ip(我是内网,用的...
$index->flushIndex(); 或 php Indexer.php --flush -p /var/www/xunsearch/goods.ini 用过后队列数还是没有改变,索引还是没有增加进去,仿佛就在缓存队列中,然后我就把xs重启,队列数据变成0条了,然后我就$index->add($doc),对列数据又增加成一...
每天凌晨都挂了,,无法restart, 只能kill进程, 然后再启动。,各位有没有碰到这问题? log: 2013-05-15 00:34:29 worker3[15254] ERROR [sock:17] xapian exception on sending doc (ERROR:The revision being read has been discarded - you should call Xapian::Dat...
...6655726'] $index->flushIndex(); 或 php Indexer.php --flush -p /var/www/xunsearch/goods.ini 用过后队列数还是没有改变,索引还是没有增加进去,仿佛就在缓存队列中,然后我就把xs重启,队列数据变成0条了,然后我就$index->add($doc),对列数据又...