搜索

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

261.XSSearch::setSynonymScale

...身以支持串接操作 源码: 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, $arg2); $this->execCommand($...

262.RE: 对大写英文字母的Hightlight不正确

发布时间:2011-11-01 18:11 t By ixulf

...rch代码搜索第一个字母为大写英文字母的关键字时,高亮显示没有了(搜索记录是正确的),第一个字母小写时高亮有的。 http://www.xunsearch.com/search?q=Highlight,用的是1.0.1版本吗?

263.XSIndex::beginRebuild

...象以支持串接操作 源码: 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;} 开始重建索引 此后所有的索引...

264.XSIndex::stopRebuild

...象以支持串接操作 源码: 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 (XSException $e) { if ($e->g...

265.XSDatabasePDO_PgSQL::makeDsn

...{return} string 源码: sdk/php/util/XSDataSource.class.php#L913 (显示) protected function makeDsn($param){ $dsn = "pgsql:host={$param['host']};"; $dsn .= isset($param['port']) ? "port={$param['port']};" : ''; $dsn .= "dbname={$param['dbname']};client_encoding=utf-8"; return ...

266.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();} 读取最近一次分面搜索记...

267.RE: 自定义字典的问题

更新时间:2011-03-16 22:03 t By zfzeng

...dict("d:\test.txt", SCWS_XDICT_TXT); 这样调用的话就变成“无法显示页面”了,难道txt字典库不是这样调用的?还需要做什么设置?

268.XSCommand::__toString

...务端交互的字符串 源码: 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, strlen($this->buf1), strlen($this...

269.XSDatabasePDO_MySQL::setUtf8

... 始终返回 true 源码: sdk/php/util/XSDataSource.class.php#L891 (显示) public function setUtf8(){ // BUGFIXED: 此处应为不带引号的 utf8 return $this->obj->prepare("SET NAMES utf8")->execute();} 将输出字符集设置为 UTF-8

270.XSDatabasePgSQL::connect

...am) $param 源码: sdk/php/util/XSDataSource.class.php#L554 (显示) public function connect($param){ $dsn = "host={$param['host']} "; $dsn .= isset($param['port']) ? "port={$param['port']} " : ''; $dsn .= "dbname={$param['dbname']} user={$param['user']} password={$param['pas...

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