Bryan Fink  committed 1e8e9e4

update doc/basic-mapreduce.txt for binary buckets & keys plus rebarized-riak

  • Participants
  • Parent commits 651f8b6
  • Branches default

Comments (0)

Files changed (1)

File doc/basic-mapreduce.txt

-3> {ok, [R]} = Client:mapred([{groceries, "mine"},{groceries, "yours"}],
+3> {ok, [R]} = Client:mapred([{<<"groceries">>, <<"mine">>},
+                              {<<"groceries">>, <<"yours">>}],
                              [{map, {qfun, Count}, none, false},
                               {reduce, {qfun, Merge}, none, true}]).
 4> L = dict:to_list(R).
   with Erlang, but for any of your custom code, you'll need to make
   sure it's loadable.
-  The easiest way to get your custom modules in the code path of a
-  Riak node is to symlink your application from riak's "deps"
-  directory.  The node start script (,,
-  etc.) automatically adds deps/*/ebin to the code path.
 - If you use the {modfun, Module, Function} form of the FunTerm in the
   map/reduce step definition, you'll need to force the Riak nodes to
   reload the Module if you make a change to it.