Kosta wrote: > Quoting Nils Breunese : > >> Now I need to gather all the program data for a group (say, all >> programs that are an episode of 'group:3' or 'group:1'). Does this >> require chained map/reduce (which is not in CouchDB yet, but seems >> to come up more and more on this mailinglist) or is there another >> way to do this? > > The way to do this either are > * Recursive Queries (i.e. ask for all programs in group x and use > recursive queries to check whether x is actually in the path z-y-x) > * Storing the whole path in the document (which is a pain in case you > ever move the group) Thanks for confirming my thoughts. I'll see if I can get the incoming data to change so the whole path is stored. Otherwise the clients will indeed need to use multiple queries. Nils.