On Feb 24, 2010, at 3:34 PM, Travis LaDuke wrote:
I need to list topics in order of when they were last replied to (commented on) instead of when the topic was created. You know how a forum works. I can't figure out any combination of map/reduce/list that works. Is it possible?
You could add a "lastCommentDate" property to each topic's document, and update it whenever you add a comment. You'll need to resolve conflicts if you try to update the date but someone else just updated it before you did.
—Jens
