> On Feb 19, 2015, at 9:06 AM, Jose G. Quenum <[email protected]> 
> 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 reindex using 
> the new value. What's the right syntax to delete and add a new secondary 
> index? A map-reduce approach would be great. I wouldn't mind a better 
> alternative though.

Hi Jose,

Are you referring to just removing the index from the object?  If so, you 
should be able to just read the object and rewrite it without the index 
metadata.

- Chris

Christopher Meiklejohn
Senior Software Engineer
Basho Technologies, Inc.
[email protected]


_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to