Ok, I've just found 

curl -s -X POST -H "Content-Type: application/json"
http://localhost:8098/mapred -d '{"inputs":{"bucket":["bucket_type",
"bucket"],"key_filters":[["starts_with", "2014"]]},
"query":[{"map":{"language":"javascript", "name":"Riak.mapValues"}} ]}' 



--
View this message in context: 
http://riak-users.197444.n3.nabble.com/MapRed-by-HTTP-to-bucket-type-tp4032225p4032226.html
Sent from the Riak Users mailing list archive at Nabble.com.

_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to