搜索

大约有 384 项符合查询结果, 库内数据总量为 3,513 项。 (搜索耗时:0.0068秒)

251.关于缓存使用xcache的问题

发布时间:2012-03-05 14:03 t By lxe524

...通过命令行建索引使用xcache,会抛异常 [XSErrorException] ../lib/XS.php(431): xcache_get(): xcache.var_size is either 0 or too small to enable var data caching(2) #0 [internal function]: xs_error_handler(2, 'xcache_get(): x...', '/usr/local/xuns...', 431, Array) 如果只是缓存...

252.XSSearch::setLimit

...} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L461 (显示) public function setLimit($limit, $offset = 0){ $this->_limit = intval($limit); $this->_offset = intval($offset); return $this;} 设置搜索结果的数量和偏移 用于搜...

253.XSSearch::setSynonymScale

...} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L147 (显示) public function setSynonymScale($value){ $arg1 = XS_CMD_SEARCH_MISC_SYN_SCALE; $arg2 = max(0, (intval($value * 100) & 255)); $cmd = new XSCommand(XS_CMD_SEARCH_SET_MISC, $arg1, $...

254.XSIndex::beginRebuild

...n} XSIndex 返回自身对象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L391 (显示) public function beginRebuild(){ $this->execCommand(array('cmd' => XS_CMD_INDEX_REBUILD, 'arg1' => 0), XS_CMD_OK_DB_REBUILD); $this->_rebuild = true; return $this;} 开始重...

255.XSIndex::stopRebuild

...n} XSIndex 返回自身对象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L420 (显示) public function stopRebuild(){ try { $this->execCommand(array('cmd' => XS_CMD_INDEX_REBUILD, 'arg1' => 2), XS_CMD_OK_DB_REBUILD); $this->_rebuild = false; } catch (XSEx...

256.XSSearch::getFacets

...组, 若不存在或未曾登记过则返回空数组 源码: sdk/php/lib/XSSearch.class.php#L427 (显示) public function getFacets($field = null){ if ($field === null) { return $this->_facets; } return isset($this->_facets[$field]) ? $this->_facets[$field] : array();} 读...

257.[BUG] 文档更新 开启 openBuffer 报错

更新时间:2011-10-27 16:10 t By vist2007

...]: failed to open stream: Permission denied(2) thrown in ...\xunsearch\sdk\lib\XS.php on line 469

258.XSCommand::__toString

... {return} string 用于服务端交互的字符串 源码: sdk/php/lib/XSServer.class.php#L83 (显示) public function __toString(){ if (strlen($this->buf1) > 0xff) { $this->buf1 = substr($this->buf1, 0, 0xff); } return pack('CCCCI', $this->cmd, $this->arg1, $this->arg2, str...

259.RE: freebsd7 64位 安装失败

更新时间:2012-03-19 14:03 t By hightman

...是提示很清楚了吗,检测不到 scws ,原因就是 freebsd6的 libtool 好像有些不兼容 导致编译后没有生成 libscws.so 的软连接。 你进到 /usr/local/xunsearch/lib 目录,然后手动建一个软连接 libscws.so ---> libscws.so.1.0.x?? 大概是这个名字 早先...

260.XSSearch::addSearchLog

... $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); } $this->ex...

  • 时间不限
  • 按相关性排序