Created
December 11, 2012 13:50
-
-
Save mattsnyder/4258727 to your computer and use it in GitHub Desktop.
Filter links by tag in MapReduce (Riak)
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
var links = value.values[0].metadata.Links; | |
links.filter(function(element, index, array){ return element[0] == 'tag'}).length; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment