datatypes, mapreduce & 2i

Cezary Kosko koskocezarym at gmail.com
Sun Dec 28 21:30:39 EST 2014


Hi there,

I've got 2 questions about riak's datatypes, mapreduce & 2i.

First:
If I wanted to run a mapred job on a bucket "setexmp" of type "sets",
querying a "set_bin" index for value "abc", do I just write
{"bucket":["sets","setexmp"], "index":"set_bin", "key":"abc"} in the
"inputs" field of the job's definition?

Second:
What if I wanted to query 2 indexes at the same time? Is that even possible?

Couldn't find any reference in the docs.

Kind regards,
Cezary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20141229/11d3c497/attachment.html>


More information about the riak-users mailing list