搜索

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

111.RE: indexer.php 执行报错

更新时间:2012-07-25 14:07 t By bigxu

| MySQL 扩展 | [color=#FF0000]WARNING |[/color] util.Indexer | 用于读取导入 MySQL 的数据库 | 没有mysql扩展,怎么执行query查询呢

112.XSDatabaseSQLite::connect

...param) $param array 连接参数, 包含: path 源码: sdk/php/util/XSDataSource.class.php#L699 (显示) public function connect($param){ if (($this->link = sqlite_open($param['path'])) === false) { throw new XSException("Can not open sqlite file: '{$param['path']}'"); }} ...

113.XSDatabase::setUtf8

setUtf8() 方法 public bool setUtf8() {return} bool 如果数据库能直接输出 UTF-8 编码则返回 true 否则返回 false 源码: sdk/php/util/XSDataSource.class.php#L445 (显示) public function setUtf8(){ return false;} 设置数据库字符集为 UTF-8

114.RE: xunsearch安装完成后运行示例错误

发布时间:2011-09-14 01:09 t By hightman

您 的PHP版本?是否先运行 util/RequiredCheck.php 测试一下,看上去你的PHP似乎 不支持 __toString()

115.XSDatabaseMySQLI::setUtf8

setUtf8() 方法 public bool setUtf8() {return} bool 始终返回 true 源码: sdk/php/util/XSDataSource.class.php#L677 (显示) public function setUtf8(){ $this->obj->set_charset('utf8'); return true;} 将输出字符集设置为 UTF-8

116.XSUtil::convertOut

...符串 {return} string 转换后的字符串 源码: 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 字符串转换为用...

117.XSUtil::convertIn

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

118.RE: -这个符号是否有额外的含义?

发布时间:2012-06-21 10:06 t By hightman

http://www.ftphp.com/scws/demo/v4.php 在这可以查分词结果 用附带的工具 util/Quest.php 加上 --show-query 可以看实际拆分的语句,这样你就明了了。

119.RE: 索引add速度快导致的问题

发布时间:2014-12-03 17:12 t By hightman

为确保服务器性能,采用空闲时写入。但不至于1-2小时,是不是有其它情况。可以尝试: util/Indexer.php --flush

120.XSDataFilter::process

...数组, 返回 false 表示本条数据不加入索引 源码: sdk/php/util/XSDataSource.class.php#L969 (显示) public function process($data, $cs = false); 字段数据处理函数

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