Re: {error,<<"{precommit_fail,notfound}">>}

2010-12-15 Thread Xiaopong Tran
On Thu, 2010-12-16 at 13:11 +1100, Neville Burnell wrote: > Cant you simply PUT all the objects again, ie, dont bother deleting? > Ha, I already busted the database. But then, I tried to reproduce it again, and yeah, you can just put again, and the hook seems to be created properly, and now I can

Re: {error,<<"{precommit_fail,notfound}">>}

2010-12-15 Thread Neville Burnell
Cant you simply PUT all the objects again, ie, dont bother deleting? On 16 December 2010 12:49, Xiaopong Tran wrote: > Well, that's what I had been trying to do: delete all the objects > in the bucket and re-insert again. > > So now, I can't delete the objects, and there's no delete-bucket > ope

Re: {error,<<"{precommit_fail,notfound}">>}

2010-12-15 Thread Xiaopong Tran
Well, that's what I had been trying to do: delete all the objects in the bucket and re-insert again. So now, I can't delete the objects, and there's no delete-bucket operation. Is that supposed to mean that I have to delete the entire Riack db and start everything from scratch??? I hope I got that

Re: {error,<<"{precommit_fail,notfound}">>}

2010-12-15 Thread Joseph Lambert
You need to add the hook before you add the objects you want indexed when inserting KV data. The precommit hook is what triggers the indexing of the objects. If it's not installed when you insert an object, it's not going to index it. >From the wiki: "Riak Search indexing of KV data must be enabl