Re: Data.parse() does not seem to be working in a MapReduce phase

2012-07-21 Thread Alexander Sicular
Of you're parsing in a js map reduce in Riak that it's bring done via spider monkey engine. I have a blog post on parsing dates in js via different engines. Check mah blog. I'm on a plane. @siculars http://siculars.posterous.com Sent from my rotary phone. On Jul 22, 2012 12:13 AM, "Marcel Meyer"

Re: Data.parse() does not seem to be working in a MapReduce phase

2012-07-21 Thread Marcel Meyer
I was struggling with this as well. I would get proper dates in a JS test console, but the exact same function under Riak would yield null dates. On Fri, Jul 20, 2012 at 6:48 PM, Ryan Lazuka wrote: > Data.parse() does not seem to be working in a MapReduce phase. > http://codepad.org/sT0E5ch5

Re: Riak 1.2.0 RC2

2012-07-21 Thread Jared Morrow
Riak Users, The RC2 build has been pulled from the downloads page. Please revert to using RC1 for your tests or wait until RC3 is released. Thanks, Jared On Jul 21, 2012, at 8:09 PM, Joseph Blomstedt wrote: > Riak Users, > > A critical bug has been identified in the Riak 1.2 RC2 build that

Re: Riak 1.2.0 RC2

2012-07-21 Thread Joseph Blomstedt
Riak Users, A critical bug has been identified in the Riak 1.2 RC2 build that was not in the earlier RC1 build. If you restart an RC2 node, it will overwrite it's ring file with a fresh ring, therefore removing any history that the node was part of an existing cluster. In other words, if you build

Riak search q.op=and misunderstanding

2012-07-21 Thread Mick Brooks
Hi, I'm playing with Riak thanks to working through the Seven DBs in Seven Weeks book: . One of the examples has left me confused, and I wondered if anyone could spot where I'm going wrong. I've got a dev cluster running Riak 1.1.4,

Java PB API: r-value exception

2012-07-21 Thread Kaspar Thommen
Hi, I'm confused about the r-value when using the Java API. When I call: Bucket bucket = RiakFactory.pbcClient().createBucket("myBucket").r(2).execute(); I get the following exception: com.basho.riak.client.bucket.UnsupportedPropertyException: r not supported for PB at com.basho.riak.cl

[no subject]

2012-07-21 Thread Sergei Smirnov
___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: Is it possible/wise to modify riak search index objects?

2012-07-21 Thread Metin Akat
Wow, didn't know about that. Thank you! On Sat, Jul 21, 2012 at 11:29 AM, Alexander Sicular wrote: > Na. It should index via the standard analyzer which splits on spaces, > among other things (check riak handbook - great resource). The "guid:val" > would index as a string so guid:100 should show

Re: Is it possible/wise to modify riak search index objects?

2012-07-21 Thread Alexander Sicular
Na. It should index via the standard analyzer which splits on spaces, among other things (check riak handbook - great resource). The "guid:val" would index as a string so guid:100 should show up in a search for [guid:050 TO guid:250]. Try it out. @siculars http://siculars.posterous.com Sent

Re: Is it possible/wise to modify riak search index objects?

2012-07-21 Thread Metin Akat
Yes, but that would require me to write a custom search analyzer to parse this, upload erlang code to riak etc, right? Or is there something I don't know? Please, elaborate On Sat, Jul 21, 2012 at 11:06 AM, Alexander Sicular wrote: > The overhead would be in parsing. But you could skip all that i

Re: Is it possible/wise to modify riak search index objects?

2012-07-21 Thread Alexander Sicular
The overhead would be in parsing. But you could skip all that if you prepended constant length data to your text. Something like : Field:Val field:Val text Where field and Val length are constant. Maybe like a guid:100 Where that guid is known to you to be the file size. @siculars http://sic