I guess it's bit hard to read the 3 samples I asked for, I'll spell them
out like this:
1) index1_bin in range[1,10] OR in range [21:30]
2) index1_bin in range [1;50] AND index2_bin in range[5;10]
3) key in range[aaa,zzz] AND index1_bin in range[1,10] (where key is the
actual key from the objects key-value)

Thanks,
Gints


On Sat, Aug 24, 2013 at 6:35 PM, Gints Gailītis <gints.gaili...@gmail.com>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 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 range
> [21:30]", or "index1_bin in range [1;50] AND index2_bin in range[5;10]" or
> maybe even "key in range[aaa,zzz] AND index1_bin in range[1,10]" (where key
> is the actual key from the objects key-value)]? And can I specify if the
> start/end values should be included? If so, where can I read about this?
>
> Thanks,
> Gints
>
>
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to