couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aravinda VK <hallimanearav...@gmail.com>
Subject Re: Design question, article with logs of comments and ratings
Date Sat, 26 Feb 2011 04:32:26 GMT
This might help.
http://www.cmlenz.net/archives/2007/10/couchdb-joins

On Sat, Feb 26, 2011 at 7:46 AM, He Shiming <heshiming@gmail.com> wrote:

> On Fri, Feb 25, 2011 at 9:25 PM, Simon Metson
> <simonmetson@googlemail.com> wrote:
> > And query it for a specific article with
> >
> >
> http://localhost:5984/voting/_design/vote/_view/vote?group=true&key=%22foo%22
> >
> > Mike Miller did a nice summary of how you could do time binned data for
> your historical info (using the timestamp field in the vote doc) on
> http://nosqltapes.com/video/understanding-mapreduce-with-mike-miller
> >
> > HTH
> > Cheers
> > Simon
>
> So each comment and rating is a single document. And grouping should
> be used to reduce. Thank you very much Simon. I got the idea now.
>
> --
> Best regards,
> He Shiming
>



-- 
Regards
Aravinda | ಅರವಿಂದ
http://aravindavk.in

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message