Adding riak-users to the discussion since this is important to share.

There is no shortcut for link walking in Erlang, but it is simple to do with 
map-reduce.  If your HTTP link-walking query looked like this:

/riak/artists/TheBeatles/albums,_,_/tracks,_,1

You would create a map-reduce query like this:

Client:mapred([{<<"artists">>, <<"TheBeatles">>}],[{link, <<"albums">>, '_', 
false},{link,<<"tracks">>,'_',true}]). 

Sean Cribbs <s...@basho.com>
Developer Advocate
Basho Technologies, Inc.
http://basho.com/

On Jul 15, 2010, at 10:12 AM, Kostya V wrote:

> Hello, there are some miss in your manuals for Riak. How to write 
> link_walking for Riak in Erlang ?


_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to