It looks like a LinkWalk (through HTTP) won't get the originating Object, but 
here's where the magic of MapReduce comes in!

You can do a MR phase where you retrieve on object, set keep = true and then 
perform a link walk to get whatever other links you need, too. Your client, of 
course, will have to merge the get phase and the link walk results together, 
but it's better than making two separate requests :)
---
Jeremiah Peschka - Founder, Brent Ozar PLF, LLC
Microsoft SQL Server MVP

On Sep 28, 2011, at 3:36 PM, Les Mikesell wrote:

> On Wed, Sep 28, 2011 at 1:39 PM, Jeremiah Peschka
> <[email protected]> wrote:
>> If you want to perform some kind of ad hoc querying, your only real option 
>> is Map Reduce. Fun fact: you can perform Riak Search queries through Map 
>> Reduce.
>> 
>> You can also do this with HTPP requests for Riak Search or indexes (either 
>> HTTP or Protocol Buffers), but you'll probably end up doing something that 
>> looks like this:
>> 
>> Query objects from Riak Search
>> Collect relationship IDs from Riak Search results
> 
> Is it possible to use a key to request an object and the things linked
> directly (linkname,1) in one operation?
> 
> -- 
>  Les Mikesell
>    [email protected]


_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to