How to add Riak Search index to DB from Erlang?

Dan Reverri dan at basho.com
Mon Jul 25 11:57:55 EDT 2011


On Mon, Jul 25, 2011 at 7:43 AM, Dimitry D <legato.di at gmail.com> wrote:

> Hello.
>
> I have quite simple questions, but I cannot find answers:
>
> 1. How to add to existing bucket Riak Search index? As far as I understood
> "/search-cmd install <bucket>" only adds pre-commit hooks and do not create
> index for existing data.
>

You have to GET and PUT each object in the bucket.


>
> 2. How to add pre-commit hook (I am interested in Riak Search hook) to
> bucket via Erlang ProtoBuffer Client?
>

The protobuffs client currently doesn't support setting pre-commit hooks:
https://issues.basho.com/show_bug.cgi?id=370


>
> --
> Thank you,
> Dmitry Dushkin
>
> _______________________________________________
> 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/20110725/e74c3a90/attachment.html>


More information about the riak-users mailing list