On Apr 12, 2010, at 12:48 PM, Tomáš Mudruňka wrote:
i have 2 small questions...
i am using Riak with PHP to store graph db, but i can't find anywhere if i
am able to get list of backlinks, which is crucial for me.
is there some way to get array of keys with links to my desired key? If
it's possible, how can i do this?
Links are uni-directional, from source to target. If you need backlinks, you'll need to add them to the target back to the sources. Alternatively, you could do a potentially expensive map-reduce job to collect them, but in general it's easier to add the backlink when you store the forward link.
is there some way to do such simple linkwalk request in PHP?