[XSException] ../../../../usr/local/xunse/sdk/php/lib/XS.php(1464): Unexpected respond in search {CMD:129, ARG:514} 还是该错误 已更新和设置 无法解决
...的数据 $wdf int 需要记录的次数, 默认为 1 源码: sdk/php/lib/XSSearch.class.php#L831 (显示) public function addSearchLog($query, $wdf = 1){ $cmd = array('cmd' => XS_CMD_SEARCH_ADD_LOG, 'buf' => $query); if ($wdf > 1) { $cmd['buf1'] = pack('i', $wdf); } ...
...换前的字符集 {return} mixed 转换后的数据 源码: sdk/php/lib/XS.class.php#L550 (显示) public static function convert($data, $to, $from){ // need not convert if ($to == $from) { return $data; } // array traverse if (is_array($data)) { foreach ($...
...[type] => title ) ) ) Fatal error: Uncaught [XSErrorException] xunsearch/sdk/php/lib/XS.php(2207): stream_set_blocking(): supplied argument is not a valid stream resource(2) thrown in /home/wwwroot/xunsearch/sdk/php/lib/XS.php on line 504 刚接触xunsearch,还请高手多多指教
生成搜索骨架代码测试时报错,错误:[XSException] sdk/php/lib/XS.php(2008): Permission denied(C#13)[hr] 管理员看一下,怎么回事啊。第一次用。自己顶一下。
...n] /search.php(5): Undefined index: key(8) thrown in /home/boyce/xunsearch/sdk/php/lib/XS.php on line 469 [/quote] 你是不是用的旧版本,这是因为变量使用不严谨导致的,建议在搜索 代码开头用 error_reporting(E_ALL ^ E_NOTICE) 屏蔽NOTICE级的错误 。 [/quote]...
...NULL) $arg string 复合等级参数,默认不指定 源码: 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 ins...
...tring 索引服务端连接参数 {return} XSServer 源码: sdk/php/lib/XSIndex.class.php#L33 (显示) public function addServer($conn){ $srv = new XSServer($conn, $this->xs); self::$_adds[] = $srv; return $srv;} 增加一个同步索引服务器
...n} XSTokenizerScws 返回对象本身以支持串接操作 源码: sdk/php/lib/XSTokenizer.class.php#L270 (显示) public function setMulti($mode = 3){ $mode = intval($mode) & self::MULTI_MASK; $this->_setting['multi'] = new XSCommand(XS_CMD_SEARCH_SCWS_SET, XS_CMD_SCWS_SET_MULTI, $mo...
... {return} XSIndex 返回自身对象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L306 (显示) public function delSynonym($raw, $synonym = null){ $raw = strval($raw); $synonym = $synonym === null ? '' : strval($synonym); if ($raw !== '') { $cmd = new XSComman...