On Thu, Jan 30, 2014 at 2:13 AM, Dan Santner <dansant...@me.com> wrote:
>                                 var today = new Date();

This value will be computed only once when document get indexed, not
each time when you query the view. You need to make key as
outDoc.expiryAge and pass current date with endkey query parameter to
fetch expired docs

--
,,,^..^,,,

Reply via email to