On Thu, Dec 01, 2011 at 08:38:15PM -0500, Jeremy Raymond wrote:
> So if I do have a bucket that I regularly want a listing of the keys for (or
> really that I want to access all of the objects) what is the recommend
> procedure? Put the same 2i index on each object in the bucket and then do an
> index query on it?

That's certainly one way, yes. You could also maintain your own index,
or use something like redis to hold it (and just use a keylist if redis
restarts).

> Is doing a mapred operation specifying a bucket as the
> input (instead of a list of key/value pairs) as bad as listing the keys in
> the bucket?

Yes, it is, a key-filter is also just as bad.

Andrew

_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to