Dan Reverri dan at
Wed Jul 28 14:49:15 EDT 2010

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).


Daniel Reverri
Developer Advocate
Basho Technologies, Inc.
dan at

On Wed, Jul 28, 2010 at 11:14 AM, Wilson MacGyver <wmacgyver at>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 at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the riak-users mailing list