Hi Sam,

> # map function
> function(doc) {
>  emit(doc, doc.tweets);
> }

Your map function is really weird.

Think of `map` as a way to create secondary indexes.

1. An index on the whole document doesn't make much sense.
2. Moreover, at query time, if you want to get data that are in the same 
document, 
you don't need map/reduce at all. Just create a `show` function.


Regards,

Aurélien

Reply via email to