Using the Local Client from a riak-attach session

Evan Vigil-McClanahan emcclanahan at basho.com
Fri Jan 18 11:48:47 EST 2013


Note that this uses the luke mapreduce subsystem, which isn't a good
idea as it's been deprecated going forward.

Unfortunately there doesn't seem to be a way that's as simple to do
pipe mapreduce jobs.  I'll ping people and see if we can't get you all
some code that's slightly easier to use.

On Fri, Jan 18, 2013 at 5:09 AM, Derek Sanderson <zapphutz at gmail.com> wrote:
> I love this mailing list
>
> Thank you Daniil! I had almost exactly the first thing you recommended, but
> the example I found had a slightly different notation, and was throwing
> errors that I couldn't figure out.
>
> Your example seems to be working, and I think I can get past my issue
>
> Thanks again
>
>
> On Thu, Jan 17, 2013 at 10:30 PM, Daniil Churikov <ddosia at gmail.com> wrote:
>>
>> Another option, if you want range query:
>>
>>     {ok, C} = riak:local_client(),
>>     {ok, Keys} = C:get_index(<<"bucket_name">>, {range,
>> <<"key_name_bin">>,
>> KeyStart, KeyTo}),
>>     ...
>>
>>
>>
>> --
>> View this message in context:
>> http://riak-users.197444.n3.nabble.com/Using-the-Local-Client-from-a-riak-attach-session-tp4026572p4026578.html
>> Sent from the Riak Users mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> riak-users mailing list
>> riak-users at lists.basho.com
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>




More information about the riak-users mailing list