incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk Heilig <d...@heilig-online.com>
Subject how to fetch the newes document of every type?
Date Fri, 26 Oct 2012 19:48:31 GMT
Hi,
i've got a problem:
i have a lot documents, lets say "news"
some are sports-news, some are world-news some are localnews.
local news only comes once per month or so, sport news are twice
weekly and world news daily.


in short a news document looks like:

type:news
news_type:world
created:2012-10-62 21:46:30
text:Dirk Heilig wrote to the couchdb mailinglist

what i need is a view, and the magic wat to query this view to get the
lastest news of any kind, how do i manage this?


thanks
dirk

Mime
View raw message