Re: Riak & Timestamps (Python)

2011-04-02 Thread Mike Stoddart
Ah thanks - I thought it was complaining about the value. On Sat, Apr 2, 2011 at 9:23 PM, Rexxe wrote: > Bucket keys are strings and you're passing an int (data['Time(PDT)'] which > you set to int(ut)) > > On Sat, Apr 2, 2011 at 6:13 PM, Mike Stoddart wrote: >> >> Just want to quickly clarify ho

Re: Riak & Timestamps (Python)

2011-04-02 Thread Rexxe
Bucket keys are strings and you're passing an int (data['Time(PDT)'] which you set to int(ut)) On Sat, Apr 2, 2011 at 6:13 PM, Mike Stoddart wrote: > Just want to quickly clarify how to store timestamps in Riak Search > using Python. My code: > >dt = datetime.datetime.strptime(da

Riak & Timestamps (Python)

2011-04-02 Thread Mike Stoddart
Just want to quickly clarify how to store timestamps in Riak Search using Python. My code: dt = datetime.datetime.strptime(data['Time(PDT)'], "%b %d, %Y %H:%M:%S") ut = time.mktime(dt.timetuple()) data['Time(PDT)'] = int(ut)

Re: simple riaksearch mapreduce search input syntax question

2011-04-02 Thread Gordon Tillman
Daniel AFAIK the mapreduce endpoint don't support the SOLR query parameters. You need to add a reduce function to slice the results. --gordon Sent from my iPhone On Apr 2, 2011, at 6:34 PM, "Daniel Rathbone" mailto:dan.rathb...@gmail.com>> wrote: Hi list, I've got a simple question of syntax

simple riaksearch mapreduce search input syntax question

2011-04-02 Thread Daniel Rathbone
Hi list, I've got a simple question of syntax, and I can't find it documented anywhere. I have a working riaksearch javascript mapreduce call that looks like the following: {"inputs": { "module":"riak_search", "function":"mapred_search", "arg":["tub-0.3","

webcast on riak_core?

2011-04-02 Thread Jon Brisbin
Would really love to watch a webcast on using riak_core for our own apps--hint, hint. I've got it running and now want to know what's next! :) Pouring over the BashoBanjo app to trick and figure it out. But still need more meat. Thanks! Jon Brisbin http://jbrisbin.com Twitter: @j_brisbin _

riaksearch mochijson error (I think)

2011-04-02 Thread John Axel Eriksson
I do know about this bug https://issues.basho.com/show_bug.cgi?id=965 though I wonder if I'm really encountering it. I've got 3 nodes running, one of the nodes always answers fine with json output - the other two always answers with the error below (when encountering certain documents I assume):