Re: Offset in slicequeries for pagination

2012-06-11 Thread Rajat Mathur
Hi Cyril, This may help. http://architecturalatrocities.com/post/13918146722/implementing-column-pagination-in-cassandra On Tue, Jun 12, 2012 at 3:18 AM, Cyril Auburtin wrote: > If my columns are ("k1:k2" => data1), ("k11:k32" => data211), ("k10:k211" > => data91) > > U mean transforming to ("

Re: Offset in slicequeries for pagination

2012-06-11 Thread Cyril Auburtin
If my columns are ("k1:k2" => data1), ("k11:k32" => data211), ("k10:k211" => data91) U mean transforming to ("1:k1:k2" => data1), ("2:k11:k32" => data211) but I need the previous columns names to slice query on them 2012/6/11 R. Verlangen > I solved this with creating a manual index with as co

Re: Offset in slicequeries for pagination

2012-06-11 Thread R. Verlangen
I solved this with creating a manual index with as column keys integers and column values the uuid's of the results. Then run a slicequery to determine the batch to fetch. 2012/6/11 Cyril Auburtin > using 10 results maximum per page, > > to go directly to 14th page, there is no offset=141 possi