How to re-index bucket for Riak Search

Eric Redmond eredmond at basho.com
Thu Dec 11 13:23:24 EST 2014


There are two projects that are currently in the works to solve this problem:

https://github.com/basho/yokozuna/pull/439
https://github.com/basho/yokozuna/pull/427

They should both be delivered shortly.

Eric


On Dec 9, 2014, at 5:29 PM, Jeffrey Peck <chaimpeck at gmail.com> wrote:

> I have a bucket with about 5 million objects, associated with a search index. I recently made a change to the schema and I would like Riak to re-index all data in the bucket.
> 
> Is this possible?
> 
> This is not for production. I am just experimenting, so it is not a major problem if I need to re-process everything, but I would like to know if there is a more efficient way to do this.
> 
> My guess would be to write a script that fetches objects from all keys in the bucket and re-inserts those objects, triggering a re-index. However, it seems like there should be a more efficient way.
> 
> Thanks!
> 
> - Chaim
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20141211/a28a4df6/attachment.html>


More information about the riak-users mailing list