mapreduce

Andrea Campolonghi acampolonghi at gmail.com
Tue Nov 9 05:54:32 EST 2010


I am testing the riak mapreduce syntax.

I am using the default bucket and I am sure I have something inside in json
format.

curl -v GET http://localhost:8098/riak/bucket/susi

get me back :

{"idleTime":0,"expires":0,"timeIdle":0,"created":1289247328234,"hits":0,"lastModified":1289247328234,"exprires":1289247328234,"value":"'Susanne'","lifeSpan":0}

Now When I try to run this from the riak console I do  not get any result:

{"input":"bucket","query":[{"map":{"language":"javascript","source":"function(v)
{ return [v]; }","keep":true}}]};

Any suggestion?

Thanks

-- 
Andrea Campolonghi

Cell : +39 347 2298435
andrea at andreacfm.com
http://www.andreacfm.com

Railo Team
andrea at getrailo.org
http://getrailo.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20101109/7239a36e/attachment.html>


More information about the riak-users mailing list