Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 336A4DB51 for ; Sat, 6 Oct 2012 20:31:41 +0000 (UTC) Received: (qmail 87777 invoked by uid 500); 6 Oct 2012 20:31:39 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 87752 invoked by uid 500); 6 Oct 2012 20:31:39 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 87744 invoked by uid 99); 6 Oct 2012 20:31:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Oct 2012 20:31:39 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [212.27.42.1] (HELO smtp1-g21.free.fr) (212.27.42.1) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Oct 2012 20:31:31 +0000 Received: from [IPv6:2a01:e35:2f1b:4d30:1860:e4d:43ab:5c5b] (unknown [IPv6:2a01:e35:2f1b:4d30:1860:e4d:43ab:5c5b]) (Authenticated sender: aurelien.benel) by smtp1-g21.free.fr (Postfix) with ESMTPSA id 106589400F9 for ; Sat, 6 Oct 2012 22:31:05 +0200 (CEST) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1278) Subject: Re: Help with reduce function From: =?iso-8859-1?Q?Aur=E9lien_B=E9nel?= In-Reply-To: Date: Sat, 6 Oct 2012 22:31:04 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <0DE9348E-FE81-4AD3-B5ED-540C26A393E8@utt.fr> References: <620C985E-E1AC-48C9-8EC4-7C3F42C98FF5@me.com> <8B7BA084-B1C0-46FA-95CA-8065947B8F29@utt.fr> <65464099-C893-4A3F-9466-88298C55A37E@me.com> <8D941ACF-A15F-4651-9F5B-F378E9D5D05B@utt.fr> <75098634-1472-45F0-B03D-A8F5C8CA1E94@me.com> <5421E001-5474-41F1-96D7-31057A8D090E@utt.fr> To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1278) > So is it possible to build a reduce function to do this and use the = expiry date as the key?=20 I don't see why you would need a reduce function for this.=20 Did you try with just a map function?=20 Aur=E9lien=20=