RiakSearch + MapReduce integration

Mathias Meyer mathias at basho.com
Thu Apr 14 14:31:19 EDT 2011


Hi there,

this wiki page sums it up pretty nicely: http://wiki.basho.com/Riak-Search---Querying.html#Querying-Integrated-with-Map-Reduce. It's just a different kind of input to MapReduce.

In PHP, you could simply do:

$result = $client->search("bucket", "this:that")
->map("function (v) { return [v.key]; }")
->reduce("Riak.reduceSort")
->run();

Mathias Meyer
Developer Advocate, Basho Technologies

On Donnerstag, 14. April 2011 at 20:20, khyqo wrote: 
> good day everyone.. 
> 
> i encountered another problem.. i am confused on how to integrate riaksearch and mapreduce.. according to http://blog.basho.com/2010/07/27/webinar-recap---mapreduce-querying-in-riak/ (second question), a webinar would be released but i was not able to find one.. could anyone give me some points on doing this or any wikis or tutorials.. a php based tutorial would be the best.. 
> 
> thank you so much..
> 
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
> 





More information about the riak-users mailing list