建了个demo项目,搜索的时候显示: 错误:Object id #9 打印出search.php捕获到的异常,显示 [XSException] ../../../../../usr/local/xunsearch/sdk/php/lib/XS.php(2165): Failed to recv the data from server completely (SIZE:0/8, REASON:closed) #0 /usr/local/xunsearch/sdk/ph...
...需要捆绑的 xs 对象 源码: sdk/php/lib/XSServer.class.php#L143 (显示) public function __construct($conn = null, $xs = null){ $this->xs = $xs; if ($conn !== null) { $this->open($conn); }} 构造函数, 打开连接 __destruct() 方法 public void __destruct...
...rg=NULL) $arg 源码: sdk/php/lib/XSTokenizer.class.php#L79 (显示) public function __construct($arg = null){ if ($arg !== null && $arg !== '') { $this->arg = $arg; }} getTokens() 方法 public void getTokens($value, $doc=NULL) $value $doc ...
... 要加载的项目配置文件 源码: sdk/php/lib/XS.class.php#L284 (显示) public function __construct($file){ if (strlen($file) < 255 && !is_file($file)) { $appRoot = getenv('XS_APP_ROOT'); if ($appRoot === false) { $appRoot = defined('XS_APP_ROOT') ? XS_APP_ROO...
...g=NULL) $arg 源码: sdk/php/lib/XSTokenizer.class.php#L106 (显示) public function __construct($arg = null){ if ($arg !== null && $arg !== '') { $this->arg = intval($arg); if ($this->arg < 1 || $this->arg > 255) { throw new XSException('Invalid argument f...
...g=NULL) $arg 源码: sdk/php/lib/XSTokenizer.class.php#L137 (显示) public function __construct($arg = null){ if ($arg !== null && $arg !== '') { $this->arg = intval($arg); if ($this->arg < 1 || $this->arg > 255) { throw new XSException('Invalid argument f...
...数,默认不指定 源码: sdk/php/lib/XSTokenizer.class.php#L188 (显示) public function __construct($arg = null){ if (self::$_server === null) { $xs = XS::getLastXS(); if ($xs === null) { throw new XSException('An XS instance should be created before using ' . ...
...字段各项配置 源码: sdk/php/lib/XSFieldScheme.class.php#L298 (显示) public function __construct($name, $config = null){ $this->name = strval($name); if (is_array($config)) { $this->fromConfig($config); }} 构造函数 __toString() 方法 public string __to...
... 最大长度为 255字节 源码: sdk/php/lib/XSServer.class.php#L62 (显示) public function __construct($cmd, $arg1 = 0, $arg2 = 0, $buf = '', $buf1 = ''){ if (is_array($cmd)) { foreach ($cmd as $key => $value) { if ($key === 'arg' || property_exists($this, $key)) { ...
...身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L492 (显示) public function addDb($name){ $name = strval($name); $this->execCommand(array('cmd' => XS_CMD_SEARCH_ADD_DB, 'buf' => $name)); $this->_curDbs[] = $name; return $this;} 添加搜索的数据库名, 支...