incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filippo Fadda <filippo.fa...@programmazione.it>
Subject Get the 20 posts, of the last seven days, ordered by number of hits
Date Mon, 22 Jul 2013 16:25:33 GMT
Let's suppose I have a blog and I want display the popular posts, where popular means: the
20 posts, of the last seven days, ordered by number of hits.
To avoid conflicts I don't save the number of hits in the post itself, but I emit a new document
every time a generic user displays a post.
Even using view collation I don't get a solution for this problem.

-Filippo
Mime
View raw message