Re: pagination with riak-python-client

2011-01-08 Thread Alexander Sicular
Forgot to mention that your offsets would have to be passed to the slice via the args option in the m/r. -Alexander Sicular @siculars On Jan 8, 2011, at 12:47 PM, Lenley Woodard wrote: > Does the Riak python client support pagination in the reduce phase? > If not, is there a way to implement

Re: pagination with riak-python-client

2011-01-08 Thread Alexander Sicular
No. Riak does not support pagination. A way to do it would be to apply a sort to your m/r and then a .slice() to the return array. However this could be a problem if your working set is in flux, ie. your total set of 10 becomes 11 between pages/requests. -Alexander Sicular @siculars On Jan 8,