MapReduce with 2i input filters

2013-08-24 Thread Gints Gailītis
Hi Riak users! I'm looking at the sample here: http://docs.basho.com/riak/latest/dev/using/2i/ and wondering if there is a way to use more complicated logic when using 2i input filters to limit the input to a MapReduce function. For example, can I do stuff like "index1_bin in range[1,10] OR in ra

Re: MapReduce with 2i input filters

2013-08-24 Thread Gints Gailītis
he objects key-value) Thanks, Gints On Sat, Aug 24, 2013 at 6:35 PM, Gints Gailītis wrote: > Hi Riak users! > > I'm looking at the sample here: > http://docs.basho.com/riak/latest/dev/using/2i/ and wondering if there is > a way to use more complicated logic when using 2i inpu

Re: Adding Nodes to a Running Cluster

2013-08-25 Thread Gints Gailītis
Well, I guess they're working on it - http://docs.basho.com/riak/latest/ops/running/nodes/adding-removing/#The-Node-Join-Process- but for now, that's just something we have to live with during node addition / removal. Also, I guess, if you do it all in one go, it just finishes faster, decreasing t

Re: DELETE and vclocks

2013-09-23 Thread Gints Gailītis
Sure enough, I had a break; where a continue; should be in my map function loop, which caused me to lose some siblings. Meh, all is fine now, sorry for the spam - it's been a long day :) On Mon, Sep 23, 2013 at 8:43 PM, Gints Gailītis wrote: > Oh, OK, I think I just got it - the third

Re: DELETE and vclocks

2013-09-23 Thread Gints Gailītis
Sorry, should have mentioned that, I do set allow_mult=true. Also, it seems I had a problem with my initial test - what was failing to find the object was my map reduce query, a simple find by key worked just fine. But now there seem to be two issues: 1) How does Riak handle siblings when doing a

Re: DELETE and vclocks

2013-09-23 Thread Gints Gailītis
, that second vclock is now out of date too, at that moment, since the first delete already updated the object. If that's correct, then scratch 2) off the list. Then the only question left is 1) siblings in map reduce - how do I access them? Thanks, Gints On Mon, Sep 23, 2013 at 8:26 PM,