Hi, I'm not an Erlang developer but I'm having an hard time to add the riak_search_kv_hook precommit hook directly into the app.config (to make it global through every bucket). I'm typing:
{precommit, [{riak_search_kv_hook}]} But I'm getting the following error (most probably due to a wrong syntax): {error,badarg, [{erlang,iolist_to_binary, [{invalid_hook_def,{riak_search_kv_hook}}], []}, {wrq,append_to_response_body,2,[{file,"src/wrq.erl"},{line,204}]}, {riak_kv_wm_object,handle_common_error,3, [{file,"src/riak_kv_wm_object.erl"},{line,998}]}, {webmachine_resource,resource_call,3, [{file,"src/webmachine_resource.erl"},{line,169}]}, {webmachine_resource,do,3, [{file,"src/webmachine_resource.erl"},{line,128}]}, {webmachine_decision_core,resource_call,1, [{file,"src/webmachine_decision_core.erl"},{line,48}]}, {webmachine_decision_core,accept_helper,0, [{file,"src/webmachine_decision_core.erl"},{line,583}]}, {webmachine_decision_core,decision,1, [{file,"src/webmachine_decision_core.erl"},{line,447}]}]}} What's the correct syntax for setting it? -- View this message in context: http://riak-users.197444.n3.nabble.com/Add-the-riak-search-kv-hook-precommit-hook-into-app-config-tp4025921.html Sent from the Riak Users mailing list archive at Nabble.com. _______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com