Hi, That's not currently possible in vanilla CouchDB. You can do it on cloudant.com via a chained map reduce (http://support.cloudant.com/customer/portal/articles/359310-chained-mapreduce-views). I think you could also do the same thing using the rcouch distribution (http://lists.refuge.io/refuge/0154.html) but I've not done that, so I'm not 100% sure. Cheers Simon
On Saturday, 7 July 2012 at 19:36, Pulkit Singhal wrote: > Can the input for Map functions be something other than documents? > Can the resulting data that we get by building viewA from documents ... be > fed as a pseudo input document into viewB's map function? > >