$mongo = $this->getMondongo(); $wiki_repo = $mongo->getRepository("Wiki"); $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)), "sor...
谢谢,另请问一下 type 这个是否需要索引 我现在这个是没有索引的 [type] type = numeric[hr] 现在我已经把字段改成 [type] type = numeric index = self 这样了 但是我更新所以好像没效果 $index->update($doc); 这样的 是不是要清空后用add ...
昨天的日志如下 [quote] 2013-09-08 01:00:32 searchd[21752] ALERT server start (BIND:127.0.0.1:8384) 2013-09-08 01:00:32 searchd[21752] ALERT spawned child worker[1] (PID:21758) 2013-09-08 01:00:32 searchd[21752] ALERT spawned child worker[2] (PID:21759) 2013-09-08 01:00:32 searchd[21752] ...
机器没什么查询的,突然占用资源很大。xunsearch 版本:xs-searchd: xunsearch/1.4.7-dev (search server) [php] PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 28942 root 18 3 152m 28m 1852 S 174.6 0.2 61:51.25 xs-searchd 28940 root 18 3 152m...