搜索

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

11.RE: 平滑建索引问题

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

自己写的 beginBuild add endBuild

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

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

...ww.xunsearch.com/doc/php/guide/index.rebuild // 这里是开始,所有的索引操作都放在里面,update操作会先执行删除操作,然后执行add操作,update也可以的 $index->beginRebuild(); $data = array(); $doc = new XSDocument; $doc->setFileds($data); $index->add($doc); // 这...

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

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

...e --sql="SELECT * FROM tbl_post" --project=demo 如果是程序中添加索引,参考[url=http://www.xunsearch.com/doc/php/guide/index.rebuild]http://www.xunsearch.com/doc/php/guide/index.rebuild[/url]

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

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

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

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

...410 至强四核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, MemoryUsage=46063.08 1999001, channelId=11, CostTime=289...

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

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

...uilding" 就退出了。:@ 代码参考: [php] // 宣布开始重建索引 $index->beginRebuild(); // 然后在此开始添加数据 ... $index->add($doc); ... // 告诉服务器重建完比 $index->endRebuild();[/php] 我的代码应该没有问题, 目前我使用了先清...

18.清空索引

清空索引 当您的索引数据库发生了重大改变时必须清空索引。比如搜索项目的字段配置修改了, 或者是数据进行了大模迁移、导入或批量删除导致真实数据库和搜索数据库发生了较大的偏差。 > tip: 在我们附带的[Indexer ...

19.XSIndex::beginRebuild

..._DB_REBUILD); $this->_rebuild = true; return $this;} 开始重建索引 此后所有的索引更新指令将写到临时库, 而不是当前搜索库, 重建完成后调用 endRebuild 实现平滑重建索引, 重建过程仍可搜索旧的索引库, 如直接用 clean 清空数据, 则会...

20.开发流程

...写, 或使用在线[辅助工具][1]生成配置文件。 2. 决定索引更新方式,如果项目搜索的实时要求比较高、而且采用 `PHP` 开发,则建议修改项目代码, 在数据变动时调用 [XSIndex] 的相关 `API` 进行索引同步;否则请另行编写索...

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