... fastrestart 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) ................................. [FAILED] [root@li382-193 ~]# /usr/local/xunsearch/bin/xs-ctl.sh st...
... | PHP 5.2.0 或更高版本是必须的。 | | SPL 扩展 | OK | XS(core) | SPL 扩展用于自动加载和对象戏法 | | PCRE 扩展 | OK | XSDocument, XSSearch | 用于字符串切割、判断 | | 编码转换 | mbstring | XSDoc...
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.1:8384) 这个应该是服务启动成功了...
...> XS_CMD_INDEX_EXDATA, 'buf' => $data); $this->execCommand($cmd, XS_CMD_OK_RQST_FINISHED); return $this;} 批量提交索引命令封包数据 把多个命令封包内容连续保存为文件或变量, 然后一次性提交以减少网络开销提升性能 addServer() 方法 publ...
...his->_defaultOp, $query, $page); $res = $this->execCommand($cmd, XS_CMD_OK_RESULT_BEGIN); $tmp = unpack('Icount', $res->buf); $this->_lastCount = $tmp['count']; // load vno map to name of fields $ret = $this->_facets = array(); $vnoes = $this->xs->getScheme()->getVnoMap(); // ge...
... } elseif (count($cmds) == 1) { $this->execCommand($cmds[0], XS_CMD_OK_RQST_FINISHED); } else { $cmd = array('cmd' => XS_CMD_INDEX_EXDATA, 'buf' => implode('', $cmds)); $this->execCommand($cmd, XS_CMD_OK_RQST_FINISHED); } return $this;} 删除索引中的数据 $in...
...出错信息 $res_cmd int 要求的响应指令, 默认为 XS_CMD_OK 即要求结果必须正确. {return} mixed 若无需要检测结果则返回 true, 其它返回响应的 XSCommand 对象 源码: sdk/php/lib/XSServer.class.php#L279 (显示) public function execCommand($cmd, ...
...tCustomDict(){ $res = $this->execCommand(XS_CMD_INDEX_USER_DICT, XS_CMD_OK_INFO); return $res->buf;} 获取自定义词典内容