basho-labs/riak-js — pull request #4 by roidrage (2012-09-04 12:22:29+00:00)
Title: Extract MapReduce into separate namespace

Work in progress. Pull request for discussion mostly.

This is based on the ideas outlined here: https://gist.github.com/3618769

The idea is to have separate resources for MapReduce and eventually Search on the client instead of exposing the functions directly on the client object.

That way collisions like having an ambiguous search method for both the HTTP search endpoint and one for MapReduce can be avoided.

Comments welcome!