I was thinking about what you propose and using this I guess that will have to make many requests to get all data. To understand my problem I created a gist, showing what I have and what want. Can anyone help me with with "what I need to write" ? https://gist.github.com/59f413cab266b107a4e5
Thanks guys. Sorry for my english, I'm from Brazil and in love with couchdb (even impossible to write a simple map-reduce).
