Thanks I thought I was missing something obvious! So is it possible to build a reduce function to do this and use the expiry date as the key?
Carl Bourne | Senior Sales Engineer | mobile: +44 (0) 7770 284294 | www.venafi.com On 6 Oct 2012, at 21:19, Aurélien Bénel <[email protected]> wrote: >> My documents have expiry dates and I need the ability to build queries that >> only returns documents that have an expiry date between the startkey and >> endkey parameters. > > I had no idea of your use case. So no, you don't need any group_level for > that. > Sorry, I was fooled by your reduce function (I found weird to count docs with > the exact same timestamp). > > > Regards, > > Aurélien
