搜索

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

11.RE: 平滑重建索引问题

更新时间:2012-02-10 09:02 t By hpxl

util/Indexer.php --rebuild --source, rebuild 是配合--source来使用的,详看[url=http://www.xunsearch.com/doc/php/guide/util.indexer#ch5]说明[/url]。具体用法为: # 导入 MySQL 数据库的 dbname.tbl_post 表到 demo 项目中,并且平滑重建 util/Indexer.php --rebuild --sour...

12.数据导入 乱码问题

发布时间:2011-11-25 17:11 t By vist2007

...件如下 project.name = entry project.default_charset = UTF-8 server.index = 10.1.20.51:8383 server.search = 10.1.20.51:8384 [tblog_entry_id] type = id [content] type = string index = both [user_id] type = numeric index = self tokenizer = full [post_time] type = numeric in...

13.如何为索引,进行增量式更新??

发布时间:2013-09-08 21:09 t By hongjh

...comment as c on g.gid = c.gid where ..... group by g.gid 然后,用$index->add($doc), 一条条加入 2> 更新索引时,我又重新跑一次sql, select * from goods as g left join order as o on g.gid = o.gid left join comment as c on g.gid = c.gid where ..... group by g.gid 获...

14.初次使用XS,关于平滑重建问题请教!

发布时间:2014-12-08 18:12 t By melody

A、/util/Indexer.php --rebuild --source --sql="SELECT" --project=demo B、$index->beginRebuild(); foreach ($data as $k => $v) { $doc = new XSDocument; $doc->setFields($v); $index->update($doc); } $index->endReb...

15.清空索引

...和搜索数据库发生了较大的偏差。 > tip: 在我们附带的[Indexer 索引管理工具](util.indexer)中提供了 `--clean` > 选项用于清空项目的索引数据库,用起来更简洁。 清空数据很简单,直接调用 [XSIndex::clean] 即可,代码如下: ~~~ [php] //...

16.更新、修改文档

在 `Xunsearch PHP-SDK` 中,更新、修改文档和[添加文档](index.add)的做法非常的类似, 只不过调用的是 [XSIndex::update],并且在内部处理上有所区别。 如果索引数据库中已存在主键值相同的文档,那么相当于先删除原有的文档,...

17.XSIndex

XSIndex All Packages | 属性 | 方法(函数) 包 XS 继承关系 class XSIndex » XSServer » XSComponent 版本 1.0.0 源代码 sdk/php/lib/XSIndex.class.php XS 索引管理 添加/删除/修改索引数据 Public 属性 隐去继承来的属性 ...

18.添加文档

...定则相当于忽略这些字段。 索引文档创建后,再调用 [XSIndex::add] 方法将文档加入索引数据库中即可。 > note: 如果索引数据库中已存在主键值相同的文档,并不会有冲突提示,文档仍会 > 添加成功并且不会有任何冲突提醒。所...

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

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

...'date'=>102 ); $doc = new XSDocument($array, 'utf-8'); $xs->index->openBuffer(); $xs->index->add($doc); $xs->index->closeBuffer(); 报错...... Uncaught [XSErrorException] ../../../..(1098): file_get_contents(�) [function.file-get-contents]: failed to open stream: Perm...

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

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

...目名.ini project.name = 项目名 project.default_charset = UTF-8 server.index = 192.168.0.250:8383 server.search = 192.168.0.250:8384 [tid] type = id [fid] index = self tokenizer = full [author] [authorid] index = self tokenizer = full [postdate] tokenizer = full [subject] type = title [co...

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