...断了操作,必须重启进行才能重新索引。但是此时出现了indexer无法正常启动的情况 执行命令 /usr/local/xunsearch/bin/xs-ctl.sh -b local restart 提示: WARNING: no server[xs-indexd] is running (BIND:127.0.0.1:8383) INFO: re-starting server[xs-indexd] ... (BIND:1...
我在用 indexer.php 生成的索引的时候.... 由于目标机器积极拒绝,无法连接。 what. 看不明白..求解释~ windows 下的sdk D:\xampp\php>php.exe D:\xampp\htdocs\xunsearch-1.3.0\sdk\php\util\Indexer.php -- source=mysql://root:admin@localhost/linjulusrc2.0_db2 --sql="SELECT...
update() 方法 public XSIndex update(XSDocument $doc, bool $add=false) $doc XSDocument $add bool 是否为新增文档, 已有数据中不存在同一主键的其它数据 {return} XSIndex 返回自身对象以支持串接操作 源码: sdk/php/lib/XSIndex.class....
getIndex() 方法 public XSIndex getIndex() {return} XSIndex 索引操作对象 源码: sdk/php/lib/XS.class.php#L406 (显示) public function getIndex(){ if ($this->_index === null) { $adds = array(); $conn = isset($this->_config['server.index']) ? $this->_confi...
...php/app/xx.ini配置一下 (1里面也是xx.ini 但是没有设置server.index和server.search) project.name = xxxx project.chartset = UTF-8 server.index = x.x.x.160:8383 server.search = x.x.x.160:8384 使用 Index.php -p test --info 报错 #0 ../lib/XS.php(2025): XSServer->connect() #1 ../lib/X...
... 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...
...件如下 project.name = entry project.default_charset = UTF-8 server.index = 10.1.20.51:8383 server.search = 10.1.20.51:8384 [tblog_entry_id] type = id [content] type = string index = both [user_id] type = numeric index = self tokenizer = full [post_time] type = numeric in...
为什么我到这一步 就不动了呢 ./sdk/php/util/Indexer.php --source=csv --clean demo [root@localhost home]# ls lnmp0.9-full lnmp.log lost+found wwwlogs lnmp0.9-full.tar.gz location www wwwroot [root@localhost home]# cd wwwroot [root@localhost wwwroot]# ls ftp index.h...
为什么我到这一步 就不动了呢 ./sdk/php/util/Indexer.php --source=csv --clean demo [root@localhost home]# ls lnmp0.9-full lnmp.log lost+found wwwlogs lnmp0.9-full.tar.gz location www wwwroot [root@localhost home]# cd wwwroot [root@localhost wwwroot]# ls ftp index.h...
...目名.ini project.name = 项目名 project.default_charset = UTF-8 server.index = 192.168.0.250:8383 server.search = 192.168.0.250:8384 [tid] type = id [fid] index = self tokenizer = full [author] [authorid] index = self tokenizer = full [postdate] tokenizer = full [subject] type = title [co...