Hi Wilson, I've seen UserMeta used for soft deleting records. The Riak object is stored with "X-Riak-Meta-Deleted: 1" and indexed into Solr. Searches filtered results based on the X-Riak-Meta-Deleted field.
You may also choose to store ACLs in the UserMeta. You can accept arbitrary content from users, dump the data into the value of the Riak object, set the content-type, and store a X-Riak-Meta-UserId in the UserMeta. When retrieving the data you can restrict access based on that field (e.g. make sure the requesting user id matches the field). Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Wed, Jul 28, 2010 at 11:14 AM, Wilson MacGyver <wmacgy...@gmail.com>wrote: > I've seen this a few times in docs and client src example. But there > really isn't anything > I can find on why this is useful, or when to use it instead of keeping > the data in the value. > > What is the usage case for UserMeta? > > -- > Omnem crede diem tibi diluxisse supremum. > > _______________________________________________ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com >
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com