搜索

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

1.XSIndex::update

update() 方法 public XSIndex update(XSDocument $doc, bool $add=false) $doc XSDocument $add bool 是否为新增文档, 已有数据中不存在同一主键的其它数据 {return} XSIndex 返回自身对象以支持串接操作 源码: sdk/php/lib/XSIndex.class....

2.XS::getIndex

getIndex() 方法 public XSIndex getIndex() {return} XSIndex 索引操作对象 源码: sdk/php/lib/XS.class.php#L406 (显示) public function getIndex(){ if ($this->_index === null) { $adds = array(); $conn = isset($this->_config['server.index']) ? $this->_confi...

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

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

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

4.RE: 不能增加索引,每次列队数加1

发布时间:2012-09-03 15:09 t By deling007

$index->flushIndex(); 或 php Indexer.php --flush -p /var/www/xunsearch/goods.ini 用过后队列数还是没有改变,索引还是没有增加进去,仿佛就在缓存队列中,然后我就把xs重启,队列数据变成0条了,然后我就$index->add($doc),对列数据又增加成一...

5.RE: 不能增加索引,每次列队数加1

发布时间:2012-09-07 15:09 t By hightman

...ild() 关闭它? [quote='deling007' pid='1091' dateline='1346655726'] $index->flushIndex(); 或 php Indexer.php --flush -p /var/www/xunsearch/goods.ini 用过后队列数还是没有改变,索引还是没有增加进去,仿佛就在缓存队列中,然后我就把xs重启,队列数据...

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

发布时间:2014-12-04 15:12 t By 刺猬大哥

...但不至于1-2小时,是不是有其它情况。可以尝试: util/Indexer.php --flush [/quote] 今天又测试了一下,好像要等这个快速添加的过程结束一会儿,才能搜出来,队列数据一直增加到几千,到最后才开始写入

7.XSIndex

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

8.failed to open file

发布时间:2012-03-02 14:03 t By 张十三

...ki"); $wiki_date = new MongoDate(0); $xs = new XS('demo'); $index = $xs->index; while (true) { $wikis = $wiki_repo->find(array("query" => array("created_at" => array('$gt' => $wiki_date)), "sort" => array("created_at" => 1), "limit" => 100)); if (!$wikis) break;...

9.平滑重建索引

...=== 前一章讲到有些情况不得不需要重建索引,可以用 [XSIndex::clean] 立即全部清空所有数据, 然后再把现有数据全部添加到索引数据库中。 但这种方式的缺点对于线上项目是难以容忍的,因此可以选择使用平滑重建方式。它的...

10.不能增加索引,每次列队数加1

发布时间:2012-08-30 15:08 t By deling007

php Indexer.php --info -p /var/www/xunsearch/goods.ini 查询项目信息显示: 数据库名:db 队列数据:1条 导入进程:无 每$index->add($doc) 一下队列数就增加1,但是$search->getDbTotal() 仍然是0 所以每次增加数据都不成功,请问一下是什么原...

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