Wildcard search issues in Riak Search

2010-12-15 Thread Xiaopong Tran
I have put a few objects in the database, and the object looks like this: { "userid" : "jane", "first_name" : "Jane", "last_name" : "Doe", "gender" : "F", "joined_date" : "Wed, 15 Dec 2010 09:15:20 GMT" } I have 3 users whose id starts with the letter 'j': jane, jenny, john. When I us

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

Riak Recap for Dec. 13 - 14

2010-12-15 Thread Mark Phillips
Evening, Morning, Afternoon to All, For today's Recap: A few blog posts, new Riak slides, new code and functionality for Ripple, new documentation for the Python client, and more. Enjoy, Mark Community Manager Basho Technologies wiki.basho.com twitter.com/pharkmillups Riak Recap for Dec.

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

Grails GORM for Riak

2010-12-15 Thread Jon Brisbin
Just updated the plugin portal page with information on the 1.0.0.M1 release of the Grails GORM plugin for Riak. http://grails.org/plugin/riak Besides the GORM mapping layer, the plugin gives access to the Spring Data RiakTemplate abstraction, which seeks to make access to data in Riak from Jav

Riak support in Spring Data now released

2010-12-15 Thread Jon Brisbin
Spring Data support for Riak is now available! :) Version 1.0.0.M1 was released today and is now available in the Maven repositories for testing in your own applications. http://www.springsource.org/node/2980 Thank you to the Basho folks who patiently answered my questions and offered lots of

using the erlang api to auto generate keys

2010-12-15 Thread carson li
hey, i have a quick question about auto generating keys. i know using curl post, all you have to do is specify the bucket, and riak will generate the key for you. is it possible for the erlang library to generate the key for you? if not, is there an easy to to generate unique keys using some buil

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

Re: replica is synchronized or asynchronized?

2010-12-15 Thread Jeremiah Peschka
On Wed, Dec 15, 2010 at 6:33 AM, Daniel Woo wrote: > hi guys, want to ask you guys a question, when we write a datarum to a > cluster with N=3, does Riak write the 3 nodes synchronized and verify the > result >= W? or just write to a single node then gossip the change to the > other two nodes asy

replica is synchronized or asynchronized?

2010-12-15 Thread Daniel Woo
hi guys, want to ask you guys a question, when we write a datarum to a cluster with N=3, does Riak write the 3 nodes synchronized and verify the result >= W? or just write to a single node then gossip the change to the other two nodes asynchronuously? I guess it's synchronized because i don't under

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

2010-12-15 Thread Xiaopong Tran
I installed Riak Search, added a few JSON docs, then install the search hook for the bucket. Now, here are the questions: 1) How can I list the indexes that have been created for my bucket? 2) After installing the hook, I can't delete my object anymore. Here is the error: 7> {ok, P} = test3:init