Andrew,

Maybe you could elaborate on the error?  I tested this against master
(commit below) just now with success.

2b1a474f836d962fa035f48c05452e22fc6c2193 Change dependency to allow for
R14B03 as well as R14B02

-Ryan

On Wed, Jun 22, 2011 at 7:03 PM, Andrew Berman <rexx...@gmail.com> wrote:

> Hello,
>
> I'm having issues link walking using the Map Reduce link function.  I am
> using HEAD from Git, so it's possible that's the issue, but here is what is
> happening.
>
> I've got two buckets, user and user_email where user_email contains a link
> to the user.
>
> When I run this:
>
> {
>     "inputs": [
>         [
>             "user_email",
>             "myem...@email.com"
>         ]
>     ],
>     "query": [
>         {
>             "link": {
>                 "bucket": "user",
>                 "tag": "user"
>             }
>         }
>     ]
> }
>
> I only get [["user","LikiWUPJSFuxtrhCYpsPfg","user"]] returned.  The second
> I add a map function, even the simplest one (function(v) { [v] } I get a
> "map_reduce error":
>
> {
>     "inputs": [
>         [
>             "user_email",
>             "myem...@email.com"
>         ]
>     ],
>     "query": [
>         {
>             "link": {"bucket":"user", "tag":"user"}
>         }
>        ,{
>             "map": {
>                 "language": "javascript",
>                 "source": "function(v) { return[v]; }"
>             }
>         }
>     ]
> }
>
> Is this functionality broken?  I am following what it says on the Wiki for
> the MapRed version of link walking.  When I use HTTP link walking, it works
> correctly.
>
> Thanks,
>
> Andrew
>
> _______________________________________________
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to