搜索

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

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

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

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

2.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),对列数据又增加成一...

3.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重启,队列数据...

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

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

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

5.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;...

6.不能增加索引,每次列队数加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 所以每次增加数据都不成功,请问一下是什么原...

7.RE: 如何按分类搜索啊

更新时间:2012-02-21 14:02 t By flyfeng2

...type = numeric[hr] 现在我已经把字段改成 [type] type = numeric index = self 这样了 但是我更新所以好像没效果 $index->update($doc); 这样的 是不是要清空后用add ?[hr] Xapian::Query((新闻:(pos=1) AND (type:(pos=2) PHRASE 2 1:(pos=3)))) 这样 但是木有...

8.使用讯搜搭建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...

9.indexd性能问题

发布时间:2011-12-26 11:12 t By askie

对index进行频繁操作,会出现indexd进程挂掉现象,动作大概如下: 1.操作频率300次/秒,甚至更高到了1000次/秒 2.操作动作:update,add,del 出现的现象: 1.indexd假死,无法继续插入数据,进程僵死。 2.使用restart,出现indexd stop fail...

10.请教一下 addTerm 这样用对吗?

发布时间:2014-07-24 11:07 t By xunsearch飞吧

............;//一维数组 $doc->setFields($data); $index->add($doc); foreach ($arrTag as $kt=>$vt) { $doc -> addTerm('cat', $vt); } dump($doc -> getAddTerms('b_tag_id')); } 是这样写吗? 我查询分类的时候...

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