Re: Ping: Using Erlang funs for map reduce via the REST API and protocol buffers client

2010-10-10 Thread Mark Phillips
> Here's the enhancement request with patches attached. > > https://issues.basho.com/show_bug.cgi?id=806 Looks good. Thanks, Seth! Mark ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.bash

Re: Ping: Using Erlang funs for map reduce via the REST API and protocol buffers client

2010-10-10 Thread Seth Falcon
Hi again, On Thu, Oct 7, 2010 at 9:50 AM, Mark Phillips wrote: > We would love to have you send the patch along. When you have a moment > head over to issues.basho.com and file a new bug with the patch > attached. Here's the enhancement request with patches attached. https://issues.basho.com/sh

Re: Ping: Using Erlang funs for map reduce via the REST API and protocol buffers client

2010-10-09 Thread Seth Falcon
Mark, On Thu, Oct 7, 2010 at 9:50 AM, Mark Phillips wrote: > We would love to have you send the patch along. When you have a moment > head over to issues.basho.com and file a new bug with the patch > attached. Excellent. I will file a ticket and attach patches in the next day or so. For now, I

Re: Ping: Using Erlang funs for map reduce via the REST API and protocol buffers client

2010-10-07 Thread Mark Phillips
Hey Seth, We would love to have you send the patch along. When you have a moment head over to issues.basho.com and file a new bug with the patch attached. Thanks for putting it together. Mark ___ riak-users mailing list riak-users@lists.basho.com http

Ping: Using Erlang funs for map reduce via the REST API and protocol buffers client

2010-10-06 Thread Seth Falcon
Hey all, I have a patch that allows you to specify Erlang funs as strings for use in map/reduce via both the REST and protocol buffer APIs. So you can do things like: ## For REST {"reduce":{"language":"erlang", "source":" fun(ValueList, _Arg) -> [lists:foldl(fun erlang:'+'/2,