On Fri, Jul 3, 2009 at 6:59 AM, Robert Newson <[email protected]>wrote:

> wouldn't emitting the start timestamp as the key solve the problem?
> (if you need both, have two views).


That would just return upcoming events, it wouldn't return current events
that have already started but have yet to end.

I think you could do this with couchdb-lucene, though, something like:

q=starttime:[current_time TO far_future_time] OR endtime:[current_time TO
far_future_time]
&sort=starttime

Reply via email to