On Tue, Mar 25, 2008 at 5:34 PM, Sho Fukamachi <[EMAIL PROTECTED]> wrote: > Will the M/R function be able to reach across databases? For example, > if I make one database called couch.local/ blogs and one called > couch.local/posts, will I be able to define an index function that > reaches into both? Or is it limited to within the scope of one database?
Sho, I'm not a CouchDB internals expert, but I imagine you could use replication to merge two databases at any point in the future. I'm also pretty sure that map functions can't reach into the contents of more than one document (although reduce will be able to merge all data with the same key, I think, so you could perhaps "join" together related documents using a clever map function, although you may be better off doing joins in your application.) Chris -- Chris Anderson http://jchris.mfdz.com
