Good day the list,

We're getting ready to launch a riak-backed application, and starting to
need to evolve things already. We're leaning on 2i quite a bit.

The use case would be something like an 'account' object:

{ "id": ..., "first_name": ..., }

.. where we have indexes on various fields. Now our customer service
department wants account records to magically pop up when people call, and
we want to add another field ('phone_number') that we'll need to do 2i on.

So far the options seem to be:

1. List all the keys in the bucket (eew, I'm told) and re-save them with
the new index
2. Have search enabled, and find all the objects that have that field
defined, then re-save them with the index
3. I'm doing it wrong at the data modeling layer

I apologize if this is an RTFM thing, I searched the list archives etc and
found no clear suggestions.
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to