Hi Markus,
> Ok, but than I need different documents for thread and post, because I need
> different informations for threads and posts. Or do you think it's better to
> put the thread informations into the first post doc?
You can do both ways. In either way you'll "collate" them.
["a0bf"] {title:"Writing
a Bulletin Board"}
["a0bf", "2011-09-11 13:10:34"] {author:"Markus", ...}
["a0bf", "2011-09-11 13:29:46"] {author:"Aurélien", ...}
or :
["a0bf", "2011-09-11 13:10:34"] {title:"Writing a Bulletin Board",
author:"Markus", ...}
["a0bf", "2011-09-11 13:29:46"] {author:"Aurélien", ...}
More information on :
http://wiki.apache.org/couchdb/View_collation
Regards,
Aurélien