...持: <端口号|host:port|本地套接字路径> 源码: sdk/php/lib/XSServer.class.php#L165 (显示) public function open($conn){ $this->close(); $this->_conn = $conn; $this->_flag = self::BROKEN; $this->_sendBuffer = ''; $this->_project = null; $this->connect(); $this->_f...
... -c gbk -q 桌面 --limit=2 返回 Object id #10 0 ../lib/XS.php(2246): XSServer->read(8) 1 ../lib/XS.php(2231): XSServer->getRespond() 2 ../lib/XS.php(2208): XSServer->execCommand(Array, 201) 3 ../lib/XS.php(2169): XSServer->setProject('cms_51cto') 4 ../lib/XS.php(1312): XSServer->open(8384)...
... -c gbk -q 桌面 --limit=2 返回 Object id #10 0 ../lib/XS.php(2246): XSServer->read(8) 1 ../lib/XS.php(2231): XSServer->getRespond() 2 ../lib/XS.php(2208): XSServer->execCommand(Array, 201) 3 ../lib/XS.php(2169): XSServer->setProject('cms_51cto') 4 ../lib/XS.php(1312): XSServer->open(8384)...
reopen() 方法 public XSServer reopen(bool $force=false) $force bool 是否强制重新连接, 默认为否 {return} XSServer 返回自己, 以便串接操作 源码: sdk/php/lib/XSServer.class.php#L185 (显示) public function reopen($force = false){ if ($this->_flag...
...E:0/8, REASON:closed) #0 /usr/local/xunsearch/sdk/php/lib/XS.php(2105): XSServer->read(8) #1 /usr/local/xunsearch/sdk/php/lib/XS.php(2090): XSServer->getRespond() #2 /usr/local/xunsearch/sdk/php/lib/XS.php(2067): XSServer->execCommand(Array, 201) #3 /usr/local/xunsearch/sdk/php/lib/XS.php(202...
...接参数 $xs XS 需要捆绑的 xs 对象 源码: sdk/php/lib/XSServer.class.php#L143 (显示) public function __construct($conn = null, $xs = null){ $this->xs = $xs; if ($conn !== null) { $this->open($conn); }} 构造函数, 打开连接
...ce=csv --clean demo Object id #9 #0 lib/XS.php(2080): XSServer->read(8) #1 lib/XS.php(2065): XSServer->getRespond() #2 lib/XS.php(2042): XSServer->execCommand(Array, 201) #3 lib/XS.php(2003): XSServer->setProject('demo') #4 lib/XS.php(1986): XSServer->open('8383') #5 lib/XS...
XSServer All Packages | 属性 | 方法(函数) 包 XS 继承关系 class XSServer » XSComponent 子类 XSIndex, XSSearch 版本 1.0.0 源代码 sdk/php/lib/XSServer.class.php XSServer 服务器操作对象 同时兼容于 indexd, searchd, 所有交互均...
...Failed to create home directoy of the project(S#508) #0 lib/XS.php(2067): XSServer->execCommand(Array, 201) #1 lib/XS.php(2028): XSServer->setProject('demo') #2 lib/XS.php(2011): XSServer->open('8383') #3 lib/XS.php(342): XSServer->__construct('8383', Object(XS)) #4 lib/XS.php(249): XS->getInde...
connect() 方法 protected void connect() 源码: sdk/php/lib/XSServer.class.php#L452 (显示) protected function connect(){ // connect to server $conn = $this->_conn; if (is_int($conn) || is_numeric($conn)) { $host = 'localhost'; $port = intval($conn); } elseif...