title: How to run an Erlang MapReduce function on Riak?
body: <p>I'm new to Riak and new to Erlang. I have successfully created and run JS MapReduce jobs, now I'm trying to execute the following Reduce function:</p>
  
  <p><a href="http://web.archive.org/web/20130329021000/http://contrib.basho.com/delete_keys.html" rel="nofollow">http://web.archive.org/web/20130329021000/http://contrib.basho.com/delete_keys.html</a></p>
  
  <p>What are the steps to execute this reduce function? Specifically, </p>
  
  <ul>
  <li>Where should I put the code?</li>
  <li>What should I type into <code>addReducePhase( )</code> ?</li>
  </ul>
  
  <p>Thanks</p>