... 14[hr] 另外 WARNING: no server[xs-indexd] is running (BIND:127.0.0.1:8383) INFO: re-starting server[xs-indexd] ... (BIND:127.0.0.1:8383) WARNING: no server[xs-searchd] is running (BIND:127.0.0.1:8384) INFO: re-starting server[xs-searchd] ... (BIND:127.0.0.1:8384) 是否表示启动成功...
可能是你没有开启监听服务,你先查下 8383或者8384 端口的状态(查询命令: netstat -an |grep 8383),如果没有输出信息,你可以试着对照你本机环境运行下面的命令(先切换到你本机xunsearch的安装目录下): bin/xs-ctl.sh -b local start...
...() #3 /usr/local/xunsearch/sdk/php/lib/XS.php(344): XSServer->__construct('8383') #4 /usr/local/xunsearch/sdk/php/lib/XS.php(251): XS->getIndex('8383', Object(XS)) #5 /usr/local/xunsearch/sdk/php/index_add.php(6): XSComponent->__get() #6 {main} 进程已启动: root 3795 1 0 05:37 ? ...
...project.name] => test [project.default_charset] => UTF-8 [server.index] => 8383 [server.search] => 8384 [newsid] => Array ( [type] => id ) [title] => Array ( [type] => title ) ) ) Fatal error: Uncaught [XSErrorException] xunsearch/sdk/php/lib/XS.php(2207): stream_set_blocking(): supplied argument ...
... #3 ../usr/local/xunsearch/sdk/php/lib/XS.php(344): XSServer->__construct(8383) #4 ../usr/local/xunsearch/sdk/php/lib/XS.php(251): XS->getIndex(8383, Object(XS)) #5 Indexer.php(155): XSComponent->__get() #6 {main}
... project.name = goods project.default_charset = utf-8 server.index = 8383 server.search = 8384 [id] type = id [price] type = numeric 查询操作: hpxl@debian:~/test$ php sdk/php/util/Quest.php goods id:3122 --show-query [XSException] sdk/php/lib/XS.php(2455): Failed to recv the ...