Re: Need quick fix for > lineno":466, "message":"SyntaxError: syntax error", "source":"()

2012-03-26 Thread Jonathan Langevin
Thanks for your solution Aphyr. Dan, shouldn't the Riak builtin js functions (for mapping the object values) account for this issue, assuming this is [new] behavior that should be expected now? https://github.com/basho/riak_kv/blob/master/priv/mapred_builtins.js *

Re: Substring Search

2012-03-26 Thread Alexander Sicular
Um... Have you tried wildcards? Like "basket*"? Cause I'm using that now against Riak Search and it's working for me, although my data set is not large in the slightest. @siculars on twitter http://siculars.posterous.com Sent from my iRotaryPhone On Mar 25, 2012, at 23:56, Hursh Prasad wrot

connection fail over

2012-03-26 Thread Zheng Zhu
Hello, I am new to Riak and want to know if Riak java client has the node connection feature to automatically fail over to another node after timed out for current node. If so, can you share links to doc, java doc or sample code? Thanks Zheng The information contained in this e-mail is confident

Storing JS functions in bucket/keys

2012-03-26 Thread Jonathan Langevin
It was mentioned in an old webinar recap, that custom JS functions could be stored in Riak as a objects in a bucket, and then executed via mapreduce. While this was mentioned as possible, no example was provided, and Google is turning up nothing useful for me. Could someone please provide an examp

Re: Storing JS functions in bucket/keys

2012-03-26 Thread Russell Brown
Hi Jonathan, On 26 Mar 2012, at 21:53, Jonathan Langevin wrote: > It was mentioned in an old webinar recap, that custom JS functions could be > stored in Riak as a objects in a bucket, and then executed via mapreduce. > While this was mentioned as possible, no example was provided, and Google is

Re: Storing JS functions in bucket/keys

2012-03-26 Thread Jonathan Langevin
Missed that, thanks very much. So it seems in that example, I would have an anonymous function stored in myjs/mymap, correct? Would it be possible to store a group of functions into a bucket, structured similar to the Riak builtin js methods, that I could call from a map phase w/ a custom functio