搜索

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

11.RE: 平滑建索引问题

发布时间:2012-06-04 11:06 t By netyum

自己写的 beginBuild add endBuild

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

发布时间:2012-02-10 10:02 t By hpxl

不对呢,仔细看一下这里,http://www.xunsearch.com/doc/php/guide/index.rebuild // 这里是开始,所有的索引操作都放在里面,update操作会先执行删除操作,然后执行add操作,update也可以的 $index->beginRebuild(); $data = array(); $doc = new XSDocument; $doc->...

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

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

... # 导入 MySQL 数据库的 dbname.tbl_post 表到 demo 项目中,并且平滑重建 util/Indexer.php --rebuild --source=mysql://root:pass@localhost/dbname --sql="SELECT * FROM tbl_post" --project=demo 如果是程序中添加索引,参考[url=http://www.xunsearch.com/doc/php/guide/index.re...

14.RE: 平滑重建索引,提示 "DB has been rebuilding" 就退出了。

发布时间:2012-08-10 16:08 t By hightman

好用就好,加油。上线后希望提供个WEB示范地址

15.RE: 平滑重建索引,提示 "DB has been rebuilding" 就退出了。

发布时间:2012-08-08 16:08 t By ghxter

问题已经搞明白,非常感谢 hightman 。 以前的重建没有完成。服务重启一下即可。 注意: 如果使用了 rebuild 重建索引,一定要完成,否则就会卡在那里。 建议大家测试没有问题的情况下,使用后台执行的方式进行 rebuild 重建...

16.RE: 平滑重建索引,提示 "DB has been rebuilding" 就退出了, 原因已经明确。 在此更新测试信息。

更新时间:2012-08-08 22:08 t By ghxter

再次更新测试结果: 硬件信息: R410 至强四核E5620 2.4GHz*2/4G*4 1333MHz/600G*2/SAS-15Krpm Raid1 导入索引DEBUG信息: [code] 1998001, channelId=11, CostTime=2895.08, UpdateIndexTime=1226.33, UpdateProductTime=2742.26, ProductCount=10000, ProcessCount=2000000.00, MemoryUsag...

17.平滑重建索引,提示 "DB has been rebuilding" 就退出了。

更新时间:2012-08-08 22:08 t By ghxter

不知为何,提示 "DB has been rebuilding" 就退出了。:@ 代码参考: [php] // 宣布开始重建索引 $index->beginRebuild(); // 然后在此开始添加数据 ... $index->add($doc); ... // 告诉服务器重建完比 $index->endRebuild();[/php] 我的代码应该...

18.清空索引

...此,如果您对线上项目操作,建议参见下一章节中介绍的平滑方式重建索引。 $Id$

19.XSIndex::beginRebuild

...时库, 而不是当前搜索库, 重建完成后调用 endRebuild 实现平滑重建索引, 重建过程仍可搜索旧的索引库, 如直接用 clean 清空数据, 则会导致重建过程搜索到不全的数据

20.开发流程

...项目字段配置,那么您必须进行[清空索引](index.clean)或[平滑重建索引](index.rebuild), > 否则可能会引起搜索结果不正确。 [1]: http://www.xunsearch.com/tools/iniconfig $Id$

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