... XSServer->__construct(8383, Object(XS)) #4 ../phplib/XS.php(222): XS->getIndex() #5 ../phputil/Indexer.php(121): XSComponent->__get('index') #6 {main} 连接局域网内其他主机mysql是出的错误 命令如下: util/Indexer.php -p discuz --source=mysql://aaa:bbb@192.168.0.1/bbs --sql...
...下终端(ssh中执行的)语句:/usr/local/xunsearch/sdk/php/util/Indexer.php --rebuild --source=mysql://root:111111@localhost/dbo --sql="select * from user" --project=sokc,怎么写php脚本(类似后台的东西)达到同样的建立索引效果呢?
util/RequiredCheck.php测试已通过 这是问题情况: # util/Indexer.php --source=csv --clean demo X-Powered-By: PHP/5.2.0 Content-type: text/html 清空现有索引数据 ... 初始化数据源 ... csv [XSException] /XSDataSource.class.php(376): Can not open input file: '' #0 XSData...
php util/Indexer.php demo --rebuild --source="mysql://root:password@localhost/db" --sql="select * from post" 提示完成,但是搜索时候有一段时间是搜不到数据的。过一会才能搜到数据。没有更新前是能搜到数据的。 rebuild不是说平稳过度吗?是什么原...
...入索引数据,请先按以下方式操: ~~~ cd $prefix/sdk/php util/Indexer.php --source=csv --clean demo ~~~ 然后脚本会给出如下提示: ~~~ 初始化数据源 ... csv WARNING: input file not specified, read data from 开始批量导入数据 ... ~~~ 然后我们测试输入下...
...这样写的 project.name = test project.default_charset = utf-8 server.index = 8383 server.search = 8384 当我执行 util/Indexer.php --source=csv --clean test 时候提示下面错误 求解 [XSException] ../../../../usr/local/xunsearch/sdk/php/lib/XS.php(2448): Failed to recv the data ...
project.name = test project.default_charset = utf-8 server.index = 192.168.46.129:8383 server.search = 192.168.46.129:8384 我将配置文件修改成下面这样 执行以下还是不行 http://192.168.46.129:8383/和http://192.168.46.129:8384/ 输入的时候 显示 It works! [root@localhost x...
... cd $prefix bin/xs-ctl.sh restart 显示: INFO: stopping server[xs-indexd] (BIND:127.0.0.1:8383) .... [OK] INFO: re-starting server[xs-indexd] ... (BIND:127.0.0.1:8383) INFO: stopping server[xs-searchd] (BIND:127.0.0.1:8384) .... [OK] INFO: re-starting server[xs-searchd] ... (BIND:127.0.0...
... cd $prefix bin/xs-ctl.sh restart 显示: INFO: stopping server[xs-indexd] (BIND:127.0.0.1:8383) .... [OK] INFO: re-starting server[xs-indexd] ... (BIND:127.0.0.1:8383) INFO: stopping server[xs-searchd] (BIND:127.0.0.1:8384) .... [OK] INFO: re-starting server[xs-searchd] ... (BIND:127.0.0...
...件 [php] project.name = myblog project.default_charset = utf-8 server.index = 8383 server.search = 8384 [ID] type = id phrase = yes [author] index = self [post_content] type = body [post_title] type = title [post_date] type = numeric index = self [category] index = se...