Riak does not support inline updating (check mongo) so in order to update any
key in your json object you need to pull the whole object (value), make your
changes and write it back.
I would make one json object like so, recording all the data in one place. All
denormalized like.
/riak/subjec
That is what I was thinking. But denormalizing the subject field would
mean when I update the subject field the data stuff won't be updated.
Is there a solution for that? Or should I handle that with the
application code?
On Tue, Jun 4, 2013 at 8:49 PM, Alexander Sicular wrote:
> You don't. Riak
Hi,
I have spent the last couple hours trying to understand how to store
and/or search relationships between buckets of information. Currently,
I have two buckets (will have more with more relationships) 'subjects'
and 'data'. In subjects I store data such as:
http://.../riak/subjects/001 has {