Hi Cezary, Datatypes like sets do not create 2I entries. We hope to resolve this limitation in a more holistic fashion in the near future. In the meantime, you can use them with Search if you like.
On Sun, Dec 28, 2014 at 8:30 PM, Cezary Kosko <koskoceza...@gmail.com> wrote: > 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 > > _______________________________________________ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > > -- Sean Cribbs <s...@basho.com> Sr. Software Engineer Basho Technologies, Inc. http://basho.com/
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com