搜索

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

181.XSIndex::setCustomDict

...tring 新的词典内容 源码: sdk/php/lib/XSIndex.class.php#L495 (显示) public function setCustomDict($content){ $cmd = array('cmd' => XS_CMD_INDEX_USER_DICT, 'arg1' => 1, 'buf' => $content); $this->execCommand($cmd, XS_CMD_OK_DICT_SAVED);} 设置自定义词典内容

182.XSServer::setTimeout

...到客户端主动关闭 源码: sdk/php/lib/XSServer.class.php#L264 (显示) public function setTimeout($sec){ $cmd = array('cmd' => XS_CMD_TIMEOUT, 'arg' => $sec); $this->execCommand($cmd, XS_CMD_OK_TIMEOUT_SET);} 设置服务端超时秒数

183.开启同义词搜索结果数量不准确

发布时间:2012-03-20 19:03 t By linren119

开启同义词搜索结果数量不准确,第一页查询时得出的数量和最后一页得出的数量不一致,造成分页显示错误。

184.XS::getScwsServer

...n} XSServer 分词服务器 源码: sdk/php/lib/XS.class.php#L467 (显示) public function getScwsServer(){ if ($this->_scws === null) { $conn = isset($this->_config['server.search']) ? $this->_config['server.search'] : 8384; $this->_scws = new XSServer($conn, $this); } ...

185.XSIndex::add

...对象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L72 (显示) public function add(XSDocument $doc){ return $this->update($doc, true);} 添加文档到索引中 特别要注意的是: 系统不会自动检测主键是否冲突, 即便已存在相同主键也会添加进...

186.XSComponent::__unset

__unset() 方法 public void __unset(string $name) $name string 属性名称 源码: sdk/php/lib/XS.class.php#L231 (显示) public function __unset($name){ $this->__set($name, null);} 魔术方法 __unset 删除、取消模拟属性, 相当于设置属性值为 null

187.XSTokenizerSplit::getTokens

...ue $doc 源码: sdk/php/lib/XSTokenizer.class.php#L86 (显示) public function getTokens($value, XSDocument $doc = null){ if (strlen($this->arg) > 2 && substr($this->arg, 0, 1) == '/' && substr($this->arg, -1, 1) == '/') { return preg_split($this->arg, $value); } ...

188.XSUtil::convertOut

...ing 转换后的字符串 源码: sdk/php/util/XSUtil.class.php#L82 (显示) public static function convertOut($buf){ if (self::$charset !== null) { return XS::convert($buf, self::$charset, 'UTF-8'); } return $buf;} 把 UTF-8 字符串转换为用户编码

189.XSTokenizerNone

...ue $doc 源码: sdk/php/lib/XSTokenizer.class.php#L46 (显示) public function getTokens($value, XSDocument $doc = null){ return array();}

190.XSTokenizerScws::getVersion

...} string 版本号 源码: sdk/php/lib/XSTokenizer.class.php#L327 (显示) public function getVersion(){ $cmd = new XSCommand(XS_CMD_SEARCH_SCWS_GET, XS_CMD_SCWS_GET_VERSION); $res = self::$_server->execCommand($cmd, XS_CMD_OK_INFO); return $res->buf;} 获取 scws 版本号

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