frank06/riak-js — Issue #96: Link walking keep document
Author: podviaznikov
Created: 2011-10-16 23:04:06+00:00
State: open

I need to walk links for document in few steps and I need to keep result from each step.

E.x. /userid/projects,_,1/parts,_,1/units,_,_

I want to find all units for particular user and I also want to get projects and parts.

When I tried code for link walking in riak-js with "keep" flag I got just bucket, key and tag but not entire document(for the intermediate steps, for the last step everything is ok).

However when I tried such query directly on Riak using URL syntax I got all data from all link steps.

I know that riak-js don't use URL syntax and just converts this syntax to link phase. Is there any big difference of using URL syntax or map reduce (excluding multi part return)?

Is this just some expected behavior or maybe it is just some my mistake?