How to re-index bucket for Riak Search

Luke Bakken lbakken at basho.com
Thu Dec 11 13:19:35 EST 2014


Hi Jeffrey,

The process you outline is the current way to deal with schema
changes. I've escalated the need for a better solution since this has
been a common scenario.

--
Luke Bakken
Engineer / CSE
lbakken at basho.com


On Tue, 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




More information about the riak-users mailing list