mapreduce with non-existent keys

2012-07-15 Thread Mark Boyd ソフトウェア
I’ve got a set of bucket/key pairs that may contain items that no longer exist in riak. Is it possible to pass that to map/reduce and explicitly tell riak to ignore any pairs which aren’t current, ie: which aren’t found? For example, if I have compiled a list of pairs but before passing the list

RE: mapreduce with non-existent keys

2012-07-15 Thread Mark Boyd ソフトウェア
Never mind. I found the archive search page and this same question posted earlier here: http://riak-users.197444.n3.nabble.com/Map-Reduce-behavior-when-key-not-found-td3641739.html Mark From: riak-users-boun...@lists.basho.com [mailto:riak-users-boun...@lists.basho.com] On Behalf Of Mark Boyd

RE: mapreduce with non-existent keys

2012-07-16 Thread Mark Boyd ソフトウェア
toMapReduceForm, { 'obj-bucket' : 'v2.tv', 'user-atts' : userAtts }) .reduce('Riak.filterNotFound') .map('Riak.mapValuesJson') // converts the buckets and keys array into array of json objects .reduce('Riak.filterNotFound')

RE: mapreduce with non-existent keys

2012-07-16 Thread Mark Boyd ソフトウェア
don’t get those not_found objects in the array returned from riak. db.add(pairs) .map(evaluation.toMapReduceForm, { 'obj-bucket' : 'v2.tv', 'user-atts' : userAtts }) .reduce('Riak.filterNotFound') .map('Riak.mapValuesJson') // convert

riakjs.org missing

2012-07-30 Thread Mark Boyd ソフトウェア
Does anyone know what happened to riakjs.org? I’ve been using the library but the site disappeared and hasn’t resurfaced. Mark NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, di

RE: riakjs.org missing

2012-07-30 Thread Mark Boyd ソフトウェア
Will do. Or could just rely upon http API or dig in and learn the protocol buffers protocol myself. Thanks. Mark From: Alexander Sicular [mailto:sicul...@gmail.com] Sent: Monday, July 30, 2012 8:21 AM To: Mark Boyd ソフトウェア 建築家 Cc: riak-users@lists.basho.com Subject: Re: riakjs.org missing I