On Sat, Nov 3, 2012 at 4:33 PM, Martin Streicher <martin.streic...@gmail.com
> wrote:
>
>
> Is there a programmatic way to achieve the equivalent of search-cmd
> install zids, so that whenever my application launches, it can enable those
> settings?
>
>
Yes.  At startup you could add the 'search' bucket property with a value of
'true'.

curl -XPUT -H 'content-type: application/json' '
http://localhost:8098/riak/foo' -d '{"props":{"search":true}}'

That will cause the pre-commit hook to be added.
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to