Link walking example on basho blog....

Sean Cribbs seancribbs at gmail.com
Sat Feb 27 07:38:06 EST 2010


Yes, the _ means "match anything" or "don't care".  The three pieces of 
the spec are:

* bucket (only match things in this bucket)
* tag
* keep (whether to return results from this spec)

If I recall correctly, the final link-walking phase always returns results.

Sean

On 2/27/10 12:55 AM, Preston Marshall wrote:
> The underscore means match all I think, or ignore.  Each one of the 
> underscores is kind of an argument to the mapreduce/linking phase. 
>  For example "http://localhost:8098/raw/hb/first/_,foo,_" means follow 
> all links that are tagged "foo" in the "first" object in the hb 
> bucket. Some of the others are a little more complex, like a bucket 
> within a bucket etc. Maybe someone who knows more about it can chime 
> in ;)
> On Feb 26, 2010, at 11:48 PM, Dan Young wrote:
>
>> I'm trying to wrap my head around the url syntax for the underscores
>> in the various link walking examples, both on the basho blog and in
>> the various docs....Can someone clarify for me the meaning of the
>> series of underscores and commas? ( _ , _)  On the basho blog, Link
>> Walking By Example article,  why are there sometimes a series of three
>> (i.e. $ curl http://localhost:8098/raw/hb/first/_,_,_ ) and later in
>> the article there's a set of three (i.e. $ curl
>> http://localhost:8098/raw/hb/first/_,_,_/_,_,_ )  This may be obvious
>> but I don't get it right now...I have gotten the link walking working
>> in my own test application, mostly from the examples, but I really
>> don't understand the _,_...is it an Erlang thing?
>>
>> Any insight would be greatly appreciated.
>>
>> Regards,
>>
>> Dan
>>
>> _______________________________________________
>> riak-users mailing list
>> riak-users at lists.basho.com <mailto: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
>    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20100227/474c42ec/attachment.html>


More information about the riak-users mailing list