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...
check() 方法 protected void check() 源码: sdk/php/lib/XSServer.class.php#L438 (显示) protected function check(){ if ($this->_sock === null) { throw new XSException('No server connection'); } if ($this->_flag & self::BROKEN) { throw new XSException('Broken ser...
...ception] lib/XS.php(2008): Connection refused(C#111) #0 lib/XS.php(1831): XSServer->connect() #1 lib/XS.php(1817): XSServer->open('8383') #2 lib/XS.php(318): XSServer->__construct('8383', Object(XS)) #3 lib/XS.php(232): XS->getIndex() #4 Indexer.php(121): XSComponent->__get('index') 请问...
XSServer All Packages | 属性 | 方法(函数) 包 XS 继承关系 class XSServer » XSComponent 子类 XSIndex, XSSearch 版本 1.0.0 源代码 sdk/php/lib/XSServer.class.php XSServer 服务器操作对象 同时兼容于 indexd, searchd, 所有交互均...
...持: <端口号|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...
... ../lib/XS.php(2202): Connection timed out(C#110) #0 ../lib/XS.php(2025): XSServer->connect() #1 ../lib/XS.php(2011): XSServer->open(8383) #2 ../lib/XS.php(342): XSServer->__construct(8383, Object(XS)) #3 ../lib/XS.php(249): XS->getIndex() #4 Indexer.php(155): XSComponent->__get('index') #5 {m...
...ion refused(C#111) #0 ../../usr/local/xunsearch/sdk/php/lib/XS.php(2025): XSServer->connect() #1 ../../usr/local/xunsearch/sdk/php/lib/XS.php(2011): XSServer->open(8383) #2 ../../usr/local/xunsearch/sdk/php/lib/XS.php(342): XSServer->__construct(8383, Object(XS)) #3 ../../usr/local/xunsearch/sdk...
...uns...', 2207, Array) #1 ../usr/local/xunsearch/sdk/php/lib/XS.php(2027): XSServer->connect(NULL, true) #2 ../usr/local/xunsearch/sdk/php/lib/XS.php(2013): XSServer->open() #3 ../usr/local/xunsearch/sdk/php/lib/XS.php(344): XSServer->__construct(8383) #4 ../usr/local/xunsearch/sdk/php/lib/XS.php...
...l/xuns...', 2210, Array) #1 /usr/local/xunsearch/sdk/php/lib/XS.php(2030): XSServer->connect(NULL, true) #2 /usr/local/xunsearch/sdk/php/lib/XS.php(2016): XSServer->open() #3 /usr/local/xunsearch/sdk/php/lib/XS.php(344): XSServer->__construct('8383') #4 /usr/local/xunsearch/sdk/php/lib/XS.php(251): ...
....x.160:8384 使用 Index.php -p test --info 报错 #0 ../lib/XS.php(2025): XSServer->connect() #1 ../lib/XS.php(2011): XSServer->open('x.x.x.160:8...') #2 ../lib/XS.php(342): XSServer->__construct('x.x.x.160:8...', Object(XS)) #3 ../lib/XS.php(249): XS->getIndex() #4 Indexer.php(155): XSComponent->_...