Secondary index in riak
iwan.daniel at gmail.com
Thu Feb 19 09:47:35 EST 2015
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.
View this message in context: http://riak-users.197444.n3.nabble.com/Secondary-index-in-riak-tp4032650p4032652.html
Sent from the Riak Users mailing list archive at Nabble.com.
More information about the riak-users