datatypes, mapreduce & 2i

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

Hi there,

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

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?

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,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the riak-users mailing list