Daniel Reverri
Developer Advocate
Basho Technologies, Inc.
d...@basho.com

On Thu, Feb 3, 2011 at 8:28 AM, Eric Moritz <e...@themoritzfamily.com>wrote:

> For some reason I was under the impression that I could return a list of
> bucket/key pairs in a map phase and Riak would automagically load the
> documents for the next query phase.
>
> For instance I have the document:
>
> /riak/entry_list/eric
>
> [
>   ["entries", "story-1"],
>   ["entries", "story-2"],
> ]
>
> then obviously documents in /riak/entries/story-1 and /riak/entries/story-2
>
> Then I have the following query:
>
> {
> "inputs": [ ["entry_list", "eric"] ],
>  "query": [
>    {"map": {"language": "javascript", "name": "Riak.mapValuesJson"}},
>  ]
> }
>
> I assumed that what I would get out of the query was the content of
> /riak/entries/story-1 and /riak/entries/story-2
>
> Am I mistaken?
>
> Thanks,
> Eric.
>
> _______________________________________________
> 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