Re: Secondary index in riak

2015-02-20 Thread Jose G. Quenum
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 > wrote: > > >> On Feb 19, 2015, at 9:47 AM, Daniel Iwan wrote: >> >> My ideas: >> 1. Rewrite (read-write) object with new va

Re: Secondary index in riak

2015-02-19 Thread Christopher Meiklejohn
> On Feb 19, 2015, at 9:47 AM, Daniel Iwan 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

Re: Secondary index in riak

2015-02-19 Thread Daniel Iwan
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 t

Re: Secondary index in riak

2015-02-19 Thread Christopher Meiklejohn
> On Feb 19, 2015, at 9:06 AM, Jose G. Quenum > wrote: > > Hi all, > I'm getting into a scenario where I'd like to use a secondary index on a > particular field in my riak object/data. However the value of the field might > change albeit very very rarely. So I was thinking I could just reinde