key not found in map reduce
mridul at readwhere.com
Mon Oct 1 03:46:49 EDT 2012
Thanks. This issue is solved.
On Monday 01 October 2012 10:33 AM, Venki Yedidha wrote:
> Hi Mridul,
> You can use filterNotFound from mapred_builtins.js...
> usage format in reduce phase:
> return Riak.filterNotFound(your_object_passed _from_map_phase);
> On Sun, Sep 30, 2012 at 2:59 PM, Mridul Kashatria
> <mridul at readwhere.com <mailto:mridul at readwhere.com>> wrote:
> I'm a beginner with Riak and map-reduce in general.
> I was trying a function in map reduce which sorts the data and
> returns it. It works well when all the bucket key pairs in input
> query exist in the riak cluster. When a bucket/key pair does not
> exist, it gives an output like below.
> I'm not able to remove this output from the map phase, even when I
> just return  in the map phase, it returns this single object.
> My question is how can I avoid this output as it is likely that in
> the inputs there is some bucket/key missing.
> riak-users mailing list
> riak-users at lists.basho.com <mailto:riak-users at lists.basho.com>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the riak-users