Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 41214 invoked from network); 22 Dec 2008 03:13:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Dec 2008 03:13:24 -0000 Received: (qmail 90056 invoked by uid 500); 22 Dec 2008 03:13:23 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 90021 invoked by uid 500); 22 Dec 2008 03:13:23 -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 90010 invoked by uid 99); 22 Dec 2008 03:13:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Dec 2008 19:13:23 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of webjogger@gmail.com designates 209.85.198.231 as permitted sender) Received: from [209.85.198.231] (HELO rv-out-0506.google.com) (209.85.198.231) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Dec 2008 03:13:15 +0000 Received: by rv-out-0506.google.com with SMTP id g37so1780241rvb.35 for ; Sun, 21 Dec 2008 19:12:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=KlMtXW3EliUre1kHRCfrWEZgjKx9aG+Y0KoB+/eisls=; b=j40i/aXHHL/Nd4spDv+xLjFGiNctKVTsCPeB24AnKsF+wlQ4mJ2b1VQ+JMVORhBhBM vwWaqw9X4S4byGoHqKDUdRU1V8eLAN8Ah5zIrps+DqzXKajgNQJY7jjNaWTIS+eI8RDZ 7HWn05Hs7xtN16BGz6YPMaMk57SvXhKpYfaK0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=suYd6KeZwMvQGRXgIZw4Zsoo5ItbiIsQAyEiSHErvkghQf3fMrLt8A7rL//fx7Sps1 +tfgathov4JcehgQsE3cGhw6qcB0fwJltgN6Ur3Ue8h04+Mt/8NPXbhJI49k35kTWEwf iO2YQra+imBlCQSdVpXCJqVY5JuiQqvbyi414= Received: by 10.141.5.17 with SMTP id h17mr2941037rvi.165.1229915573930; Sun, 21 Dec 2008 19:12:53 -0800 (PST) Received: by 10.141.153.4 with HTTP; Sun, 21 Dec 2008 19:12:53 -0800 (PST) Message-ID: <4c69d7170812211912p779b77fexf44cd213603bd4a0@mail.gmail.com> Date: Sun, 21 Dec 2008 19:12:53 -0800 From: "paul jobs" To: user@couchdb.apache.org Subject: Re: clustering based on 2 columns In-Reply-To: <2583A30D-5B9C-4426-BCB2-4D736FDD7EAD@gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_59057_19203485.1229915573926" References: <4c69d7170812211449w7b36084dh2e0706ee693bdc6@mail.gmail.com> <2583A30D-5B9C-4426-BCB2-4D736FDD7EAD@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_59057_19203485.1229915573926 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline how to query this for a particular say day?and is it possible to pass key arguments in the futon view interface when we run the view On Sun, Dec 21, 2008 at 4:37 PM, Antony Blakey wrote: > > On 22/12/2008, at 9:19 AM, paul jobs wrote: > > I want to do what map2 does but only for say "2008-12-21" ie today >> how do i get today's statistics? >> > > Split your date into three components and use them as the key e.g. > > [doc.appname, doc.date.year, doc.date.month, doc.date.day] > > This will allow you to get partial reduce results for just one day, or > month, or year. > > Antony Blakey > -------------------------- > CTO, Linkuistics Pty Ltd > Ph: 0438 840 787 > > Reflecting on W.H. Auden's contemplation of 'necessary murders' in the > Spanish Civil War, George Orwell wrote that such amorality was only really > possible, 'if you are the kind of person who is always somewhere else when > the trigger is pulled'. > -- John Birmingham, "Appeasing Jakarta" > > > ------=_Part_59057_19203485.1229915573926--