{mapreduce:"topic",
query:{'time':{'$gte':1443715200}},
map:function(){emit({name:this.name},this.clickNum);},
reduce:function(clickNum,numbers){return Array.sum(numbers);},
out:{inline:1}});
用上面的代码查询后一共有300条数据,这个时候如何对集合进行分页,比如一页20条
out可以输出到某个集合,然后对该集合查询,分页