Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 68620 invoked from network); 22 Dec 2008 04:10:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Dec 2008 04:10:29 -0000 Received: (qmail 32586 invoked by uid 500); 22 Dec 2008 04:10:28 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 32545 invoked by uid 500); 22 Dec 2008 04:10:28 -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 32534 invoked by uid 99); 22 Dec 2008 04:10:28 -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:10:28 -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.238 as permitted sender) Received: from [209.85.198.238] (HELO rv-out-0506.google.com) (209.85.198.238) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Dec 2008 04:10:20 +0000 Received: by rv-out-0506.google.com with SMTP id f9so2795691rvb.2 for ; Sun, 21 Dec 2008 20:09:58 -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=DzfFqQJEpBl38Hb0yfCXn1h4Ymhn7xckN0CXMfXNYHA=; b=M5AhPYUH75bYuyp8xLt96gHAQlcVsDAD7QZbCBxKRv+abuYHBtikXeXprkCLQMXjOI 2BeBLlbbI5r8uBQWy6HPxk3GgjQ56x+ExJFEZOgknw9idWgRPOFHrdTMmTv7BaQGQTXh qiiTOEETuw3Lnbqe8uMwuA0ZR8ZkowOi25Qng= 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=VAiHR5/npINM33idjVXX8DNUDy/Hd3r2yFZVPM9/dDNrpX1oH0ayy8TmL+f6Ik51K1 9TE+ntszedBGKTQhUFRQxz8wpvkebu9FsC6l9wYhgNs8TQ+rSMxjJDMn9WCo2XdiXIw9 UjxGvgpu/t2G+lNFtFb/zeZedYO+UvJsW5N+s= Received: by 10.141.210.21 with SMTP id m21mr2956518rvq.204.1229918998256; Sun, 21 Dec 2008 20:09:58 -0800 (PST) Received: by 10.141.153.4 with HTTP; Sun, 21 Dec 2008 20:09:58 -0800 (PST) Message-ID: <4c69d7170812212009u5c0f835cr11b4fac72f7d782b@mail.gmail.com> Date: Sun, 21 Dec 2008 20:09:58 -0800 From: "paul jobs" To: user@couchdb.apache.org Subject: Re: clustering based on 2 columns In-Reply-To: <8BE1477D-84A6-45C8-A63B-0CB5F554FF63@gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_59314_6208152.1229918998247" 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> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_59314_6208152.1229918998247 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 On 12/21/08, Antony Blakey wrote: > > map: function(doc) { emit(doc.date, doc.count) } > reduce: function(keys, values, rereduce) { return sum(values) } > > query: ...?group=true&key="2008-12-21" > > Antony Blakey > -------------------------- > CTO, Linkuistics Pty Ltd > Ph: 0438 840 787 > > Success is not the key to happiness. Happiness is the key to success. > -- Albert Schweitzer > > ------=_Part_59314_6208152.1229918998247--