<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">It is not currently possible. The JavaScript VM is "sandboxed", so to speak, with no callbacks into Erlang with the exception of the ejsLog function (which I believe is actually implemented in C).  If you want to delete objects from MapReduce, use an Erlang reduce phase like the one on <a href="http://contrib.basho.com">contrib.basho.com</a>.<div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div>Sean Cribbs <<a href="mailto:sean@basho.com">sean@basho.com</a>></div><div>Developer Advocate</div><div>Basho Technologies, Inc.</div><div><a href="http://basho.com/">http://basho.com/</a></div></span>
</div>
<br><div><div>On Mar 11, 2011, at 8:13 AM, Antonio Rohman Fernandez wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">dear all, i read sometime ago somewhere that is possible to delete data from riak on a mapreduce job with erlang... can it be done with javascript also? anybody knows how?<div>thanks</div><div><br></div><div>Rohman</div><div><br><div>
<div>





<img src="http://webmail.mahalostudio.com/sig_top.gif" alt="line" height="7" width="643">
<table border="0" cellpadding="0" cellspacing="0" width="643" style="margin-bottom: 7px;">
  <tbody>
    <tr>

      <td valign="top" width="190">
        <a href="http://mahalostudio.com/" target="_blank"><img src="http://webmail.mahalostudio.com/mahalo-logo-mini.png" alt="logo" height="44" width="162" style="margin-left: 10px;" border="0"></a>
      </td>

      <td width="10"> </td>

      <td valign="top" width="225">
        <font color="#5f5f5f" face="Verdana, Arial, Helvetica, sans-serif" size="2"><strong>Antonio Rohman Fernandez</strong></font><br>
        <font color="#5f5f5f" face="Arial, Helvetica, sans-serif" size="1.">
          <span style="font-size: 8.5pt; color: rgb(95, 95, 95);">CEO, Founder & Lead Engineer</span><br>
          <a href="mailto:rohman@mahalostudio.com" target="_blank" style="text-decoration: none;"><span style="font-size: 8.5pt; color: rgb(81, 159, 63);">rohman@mahalostudio.com</span></a><br>
        </font>
      </td>

      <td width="10"> </td>

      <td valign="top" width="225">
        <font color="#5f5f5f" face="Verdana, Arial, Helvetica, sans-serif" size="2"><strong>Projects</strong></font><br>
        <font color="#5f5f5f" face="Arial, Helvetica, sans-serif" size="1.">
          <a href="http://marubatsu.es/" target="_blank" style="text-decoration: none;"><span style="font-size: 8.5pt; color: rgb(46, 151, 77);">MaruBatsu.es</span></a><br>
          <a href="http://pupcloud.com/" target="_blank" style="text-decoration: none;"><span style="font-size: 8.5pt; color: rgb(81, 159, 63);">PupCloud.com</span></a><br>
          <a href="http://wedding.mahalostudio.com/" target="_blank" style="text-decoration: none;"><span style="font-size: 8.5pt; color: rgb(81, 159, 63);">Wedding Album</span></a><br>
        </font>
      </td>
    </tr>
  </tbody>
</table>
<img src="http://webmail.mahalostudio.com/sig_top.gif" alt="line" height="7" width="643">
</div>
</div>
<br></div></div>_______________________________________________<br>riak-users mailing list<br><a href="mailto:riak-users@lists.basho.com">riak-users@lists.basho.com</a><br>http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com<br></blockquote></div><br></div></body></html>