It appears that if I try to delete a key before it has been indexed, an error occurs.
If I do the following, a 500 occurs: (x)e...@eric-1000he:~/Projects/x/src/search_test$ . resty http://localhost:8098* (x)e...@eric-1000he:~/Projects/x/src/search_test$ PUT /riak/uhoh/foo '{"test": "testing"}' (x)e...@eric-1000he:~/Projects/x/src/search_test$ GET /riak/uhoh/foo {"test": "testing"} (x)e...@eric-1000he:~/Projects/x/src/search_test$ search-cmd install uhoh Attempting to restart script through sudo -u riak :: Installing Riak Search <--> KV hook on bucket 'uhoh'. (x)e...@eric-1000he:~/Projects/x/src/search_test$ DELETE /riak/uhoh/foo <html><head><title>500 Internal Server Error</title></head><body><h1>Internal Server Error</h1>The server encountered an error while processing this request:<br><pre>{error,badarg, [{erlang,iolist_to_binary,[notfound]}, {wrq,append_to_response_body,2}, {riak_kv_wm_raw,delete_resource,2}, {webmachine_resource,resource_call,3}, {webmachine_resource,do,3}, {webmachine_decision_core,resource_call,1}, {webmachine_decision_core,decision,1}, {webmachine_decision_core,handle_request,2}]}</pre><P><HR><ADDRESS>mochiweb+webmachine web server</ADDRESS></body></html> _______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
