Hi all,

I am trying to do map reduce with the ruby client as such:
client = Ripple.client
Riak::MapReduce.new(client).
                  add("stocks").
                  map("Riak.mapValuesJson", :arg => "GOOG", :keep => true)

where the JSON document inside the bucket is as such:

{ "abr" : "GOOG" }
{ "abr" : "AAPL" }

However instead of returning only one result it is returning all values in
the bucket.

What am I doing wrong here?

Thanks heaps for the help.

-- 
http://twitter.com/jpartogi <http://twitter.com/scrum8>
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to