Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 71118 invoked from network); 22 Dec 2008 04:29:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Dec 2008 04:29:41 -0000 Received: (qmail 42796 invoked by uid 500); 22 Dec 2008 04:29:40 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 42769 invoked by uid 500); 22 Dec 2008 04:29:40 -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 42758 invoked by uid 99); 22 Dec 2008 04:29:40 -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 20:29:40 -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.234 as permitted sender) Received: from [209.85.198.234] (HELO rv-out-0506.google.com) (209.85.198.234) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Dec 2008 04:29:32 +0000 Received: by rv-out-0506.google.com with SMTP id g37so1799780rvb.35 for ; Sun, 21 Dec 2008 20:29:10 -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=dm0EIzWyM+o2+SK/5sLyHXMQBsOFlqAdyHUTWPylLdo=; b=DWLqTCklfQt/Gn7H4qqwhZu06nhWlGXAjQDVld5spdpuf1oe4yE8eMWzXp2qDmFu68 bWGK7fcASg43/ZbMuXmGozAJZI/uKOUaShw88f1Px3+d6lyxNiBRib7bYwZo7WOFkHGm X2AiaR73srLla+gh3ujJgVTG0rTE8Ho+gI2A0= 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=OFgnQ/cG4Hta4Ha0tBlfyBq4aK7Y2JBJ0IcstRb4Jhj62+Vkgv7AUmQaQYJA/2/Adi 5boEupEhi5ZO4uEYJwZk2dgfy31RnhG3vlpbomOCF1UQs62ovczPd0Iqrk7KwGhxr0Pu NeQuQ5RGGoMwwsY/JengFA39fxj7h3gGIMoQc= Received: by 10.141.175.10 with SMTP id c10mr2987711rvp.46.1229920150877; Sun, 21 Dec 2008 20:29:10 -0800 (PST) Received: by 10.141.153.4 with HTTP; Sun, 21 Dec 2008 20:29:10 -0800 (PST) Message-ID: <4c69d7170812212029p53e3b1bep283afd328a0b209b@mail.gmail.com> Date: Sun, 21 Dec 2008 20:29:10 -0800 From: "paul jobs" To: user@couchdb.apache.org Subject: Re: clustering based on 2 columns In-Reply-To: <2DEF6392-F32A-40E4-AC6F-A60350828FDD@gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_59385_22526165.1229920150866" References: <4c69d7170812211449w7b36084dh2e0706ee693bdc6@mail.gmail.com> <2583A30D-5B9C-4426-BCB2-4D736FDD7EAD@gmail.com> <4c69d7170812211912p779b77fexf44cd213603bd4a0@mail.gmail.com> <4c69d7170812211916p4f6fd16er2e45d06e5cbaa42d@mail.gmail.com> <4c69d7170812211927l78457bf2hb0998e4c261e057b@mail.gmail.com> <8BE1477D-84A6-45C8-A63B-0CB5F554FF63@gmail.com> <4c69d7170812212009u5c0f835cr11b4fac72f7d782b@mail.gmail.com> <2DEF6392-F32A-40E4-AC6F-A60350828FDD@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_59385_22526165.1229920150866 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline this doesnt work /invites/_view/invites/bydate?count=100&group=true&key=[%222008-12-21%22] {"rows":[]} On 12/21/08, Antony Blakey wrote: > > > On 22/12/2008, at 2:39 PM, paul jobs wrote: > > antony this doesnt help >> Key >> Value *"2008-12-20"*17854*"2008-12-21"*114536 >> i get this result when i give your map-reduce view, it doesnt collate by >> appnames after collating by date >> > > I thought you were reducing over all appnames. > > map: function(doc) { emit([doc.date, doc.appname], doc.count) } > query: ...?group=true&key=["2008-12-21"] > > Antony Blakey > ------------- > CTO, Linkuistics Pty Ltd > Ph: 0438 840 787 > > He who would make his own liberty secure, must guard even his enemy from > repression. > -- Thomas Paine > > > ------=_Part_59385_22526165.1229920150866--