To do paging in mapreduce queries I make queries based on secondary indexes (2i). My keys is ordered by date and so I could ask date period. If you need results based on not dates but number of keys, you could name your keys like "00001", "00002", etc. But it would be problem with strict number of results if you sometimes drop some keys. Example of mapred query with 2i(leveldb backend) and riak protocol buffers client:
riakc_pb_socket:mapred( Conn, {index, <<"page_bucket">>, <<"$key">>, From = "00001", To = "00099"}, [{map, {modfun, riak_kv_mapreduce, map_object_value}, none, true}] ). -- View this message in context: http://riak-users.197444.n3.nabble.com/MapReduce-paging-result-tp4024959p4024969.html Sent from the Riak Users mailing list archive at Nabble.com. _______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com