Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 73375 invoked from network); 7 May 2010 06:53:16 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 May 2010 06:53:16 -0000 Received: (qmail 85540 invoked by uid 500); 7 May 2010 06:53:15 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 85438 invoked by uid 500); 7 May 2010 06:53:15 -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 85430 invoked by uid 99); 7 May 2010 06:53:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 May 2010 06:53:14 +0000 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=AWL,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sebastiancohnen@googlemail.com designates 72.14.220.158 as permitted sender) Received: from [72.14.220.158] (HELO fg-out-1718.google.com) (72.14.220.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 May 2010 06:53:08 +0000 Received: by fg-out-1718.google.com with SMTP id e12so562389fga.5 for ; Thu, 06 May 2010 23:52:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=8l/zVm210so2vwT4R0eGb8gIkCIEfPDzaRinT4FKCaQ=; b=SgagAeuf9C0BpG4yDuqPXeuXpjUrFr0MUrps+eGyG2JWUSXyJOi+YJMLsOxlUPHrIF 6+purAOHvU1lO1w7oIKZVf9gED99CDUWXl6BaYz1qCgAosXoL2xsXzLcfnVHjCEuEnXc rKn5jakIXJqwpvyevnUyVsTg07JE1Cw+fPLSc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=oOiAfpezyNHPHW6bSObSgMVuqrQEmaBszCdzuWn8zyZVl7f5SKv/Xgo49OHVpId+kF 1f6Vg0O33h9FC1+9PgSl7JgoXSe1sTr2ltPpk8vQjQhjCji3KBmWaNQUhK/gglulnDkU rekM4nHR9CGLSYS9C3SezAZbZQzqRXB+PFCIo= Received: by 10.103.125.13 with SMTP id c13mr791223mun.81.1273215166841; Thu, 06 May 2010 23:52:46 -0700 (PDT) Received: from [192.168.178.21] (koln-5d81a9d5.pool.mediaWays.net [93.129.169.213]) by mx.google.com with ESMTPS id g1sm7134412muf.0.2010.05.06.23.52.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 06 May 2010 23:52:46 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1078) Subject: Re: reduce_overflow_error on map function From: Sebastian Cohnen In-Reply-To: Date: Fri, 7 May 2010 08:52:44 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <14B31F75-BBC1-4D1E-87D5-5B5B5E5E1809@googlemail.com> References: To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1078) is there any other reduce function in this design document? On 06.05.2010, at 20:54, Ryan Ramage wrote: > I have a function like the following (which is 'by the book' in the > Finding Your Data With Views chapter) >=20 > function(doc) { > if(doc.tags.length > 0) { > for(var idx in doc.tags) { > emit(doc.tags[idx], null); > } > } > } >=20 > There is no reduce function. > But when I run on a very small data set (hundreds) I get the following = error: >=20 > {"error":"reduce_overflow_error","reason":"Reduce output must shrink > more rapidly: Current output: > = '[[[\"Last_A8Sj9sj\",\"Person_c7114514770d9cf2a28fb5732a1a1c32\",\"Audio_P= ost_Processing\",\"Calgary\",\"Idea\"'... > (first 100 of 452 bytes)"} >=20 >=20 > Each doc has no duplicate tags, and no more than 3 tags. I am running > couchdb 0.11 on windows. >=20 > Any ideas?