This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Riak KV 0.14 will add key-filters to MapReduce queries. riak-client needs | |
# a nice and efficient syntax for this feature, please leave a comment with | |
# the format that you like best. | |
# For more info on how key-filters work see: | |
# http://www.slideshare.net/hemulen/riak-mapred-preso | |
# Preliminaries so you know what we're talking about | |
client = Riak::Client.new | |
mr = Riak::MapReduce.new(client) |
NewerOlder