Secondary index in riak

Jose G. Quenum jose.quenum at googlemail.com
Fri Feb 20 12:00:54 EST 2015


Thanks to all. I'll take that option. Will let you guys know if I get any strange behavior. 

Sent from my iPad

> On Feb 19, 2015, at 4:50 PM, Christopher Meiklejohn <cmeiklejohn at basho.com> wrote:
> 
> 
>> On Feb 19, 2015, at 9:47 AM, Daniel Iwan <iwan.daniel at gmail.com> wrote:
>> 
>> My ideas:
>> 1. Rewrite (read-write) object with new values for all indexes
>> 2. Enable siblings on a bucket, write empty object with update for your
>> index, that will create sibling.
>> Then whenever you read object do merge of object+indexes. This may be more
>> appropriate if you have big objects and want to "save" bandwidth
>> 
>> Option 1 is definitely simpler though.
> 
> Option 1 is the safest, least error-prone method for performing this.
> 
> - Chris
> 
> Christopher Meiklejohn
> Senior Software Engineer
> Basho Technologies, Inc.
> cmeiklejohn at basho.com
> 
> 
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com




More information about the riak-users mailing list