István, For future reference, the Riak 2.0 docs have client-library-specific code samples. The *Querying* section of this doc has Erlang samples, including an example for how to stream:
http://docs.basho.com/riak/2.0.0/dev/using/2i/#Querying Luc On Thu, Aug 21, 2014 at 10:38 AM, István <lecc...@gmail.com> wrote: > Let me answer my own question, yes all of these are supported in the > Erlang client. > > The function I was looking for is get_index_eq: > > > http://basho.github.io/riak-erlang-client/riakc_pb_socket.html#get_index_eq-5 > > Regards, > Istvan > > > On Thu, Aug 21, 2014 at 10:32 AM, István <lecc...@gmail.com> wrote: > >> Hi guys, >> >> I was wondering if streaming the keys using 2i would be possible. I guess >> any way of limiting the number of keys returned would be good. >> >> According to the documentation there few options: >> >> http://docs.basho.com/riak/latest/dev/using/2i/#Examples >> >> - streaming the keys >> - pagination with max_results >> >> Is any of these available in the Erlang client? >> >> Thank you in advance, >> Istvan >> >> -- >> the sun shines for all >> >> >> > > > -- > the sun shines for all > > > > _______________________________________________ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > >
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com