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
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
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)
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
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","
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
_
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):