搜索

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

141.导入库的时候乱码,如下:

发布时间:2012-05-06 14:05 t By weizhao

45): XSServer->execCommand(Array, 250) #1 /home/www/xunsearch/sdk/php/lib/XS.php(1246): XSIndex->addExdata('????????1??????...', false) #2 /home/www/xunsearch/sdk/php/lib/XS.php(1102): XSIndex->appendBuffer('????????37225??...') #3 /home/www/xunsearch/sdk/php/util/Indexer.php(237): XSIndex->updat...

142.XSIndex::setDb

...ass.php#L439 (显示) public function setDb($name){ $this->execCommand(array('cmd' => XS_CMD_INDEX_SET_DB, 'buf' => $name), XS_CMD_OK_DB_CHANGED); return $this;} 更改存放索引数据的目录 默认索引数据保存到服务器上的 db 目录, 通过此方法修改数据目录名

143.RE: 二元分词问题

更新时间:2011-11-15 13:11 t By icebolt

... public function getTokens($value, XSDocument $doc = null) { $terms = array(); for ($i = 0; $i < mb_strlen($value,"utf-8"); $i += $this->arg) { $terms[] = mb_substr($value, $i, $this->arg,"utf-8"); } return $terms; } hightman可以改成这个,那中文一元切分就也...

144.使用讯搜搭建phpwind的全文检索

更新时间:2012-05-18 09:05 t By myoula

...$thread) { if (!in_array($thread['fid'], array(0, 444)) && ($thread['ifcheck'] == 1)) { $thread['tid'] = $tid; $doc = new XSDocument...

145.XSTokenizerScws::getTokens

...) public function getTokens($value, XSDocument $doc = null){ $tokens = array(); $this->setIgnore(true); // save charset, force to use UTF-8 $_charset = self::$_charset; self::$_charset = 'UTF-8'; $words = $this->getResult($value); foreach ($words as $word) { $tokens[] = ...

146.XSServer::setProject

...ject($name, $home = ''){ if ($name !== $this->_project) { $cmd = array('cmd' => XS_CMD_USE, 'buf' => $name, 'buf1' => $home); $this->execCommand($cmd, XS_CMD_OK_PROJECT); $this->_project = $name; }} 设置当前项目

147.迅搜出错

发布时间:2012-05-23 13:05 t By a114708367

...(2065): XSServer->getRespond() #2 lib/XS.php(2042): XSServer->execCommand(Array, 201) #3 lib/XS.php(2003): XSServer->setProject('demo') #4 lib/XS.php(1986): XSServer->open('8383') #5 lib/XS.php(326): XSServer->__construct('8383', Object(XS)) #6 lib/XS.php(240): XS->getIndex() #7 Indexer.php(15...

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

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

...ion]: xs_error_handler(2, 'xcache_get(): x...', '/usr/local/xuns...', 431, Array) 如果只是缓存配置文件的话,缓存不缓存倒没所谓了

149.XSCsvDataSource::getDataList

... $this->invalidLines++; return $this->getDataList(); } return array($item);}

150.XSDatabasePgSQL::query

... XSException('PgSQL ERROR: ' . pg_last_error($this->link)); } $ret = array(); while ($tmp = pg_fetch_assoc($res)) { $ret[] = $tmp; } pg_free_result($res); return $ret;} 执行 SQL 语句查询

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