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...
... -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)...
...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...
...回 true, 其它返回响应的 XSCommand 对象 源码: sdk/php/lib/XSServer.class.php#L279 (显示) public function execCommand($cmd, $res_arg = XS_CMD_NONE, $res_cmd = XS_CMD_OK){ // create command object if (!$cmd instanceof XSCommand) { $cmd = new XSCommand($cmd); } // j...
...IZE:0/8, REASON:closed) #0 /usr/local/xunsearch/sdk/php/lib/XS.php(2385): XSServer->read(8) #1 /usr/local/xunsearch/sdk/php/lib/XS.php(2367): XSServer->getRespond() #2 /usr/local/xunsearch/sdk/php/lib/XS.php(1088): XSServer->execCommand(Array, 201, 128) #3 /usr/local/xunsearch/sdk/php/lib/XS.php...
...SIZE:0/8, REASON:closed) #0 /usr/local/xunsearch/sdk/php/lib/XS.php(2385): XSServer->read(8) #1 /usr/local/xunsearch/sdk/php/lib/XS.php(2367): XSServer->getRespond() #2 /usr/local/xunsearch/sdk/php/lib/XS.php(1088): XSServer->execCommand(Array, 201, 128) #3 /usr/local/xunsearch/sdk/php/lib/XS.php(23...
... from server completely (SIZE:0/8, REASON:closed) #0 ../lib/XS.php(1911): XSServer->read(8) #1 ../lib/XS.php(1896): XSServer->getRespond() #2 ../lib/XS.php(1880): XSServer->execCommand(Array, 208) #3 Indexer.php(180): XSServer->setTimeout(1000) #4 {main}
...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...
addServer() 方法 public XSServer addServer(string $conn) $conn string 索引服务端连接参数 {return} XSServer 源码: sdk/php/lib/XSIndex.class.php#L33 (显示) public function addServer($conn){ $srv = new XSServer($conn, $this->xs); self::$_adds[] = $srv; ...