Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 47619 invoked from network); 7 May 2010 04:42:19 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 May 2010 04:42:19 -0000 Received: (qmail 13401 invoked by uid 500); 7 May 2010 04:42:18 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 13128 invoked by uid 500); 7 May 2010 04:42:16 -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 Delivered-To: moderator for user@couchdb.apache.org Received: (qmail 67744 invoked by uid 99); 6 May 2010 18:54:30 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ryan.ramage@gmail.com designates 209.85.160.52 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=REoB+INN90PVtzTYGLiNwfrons4j5hiUWh5SWwHOFeA=; b=sk4nT9rwYWMsZobsbqFqQJtnCEs2JxXWQ3QFE8Zmb1zHA4bUh+oo2OUaZtOdBPBc/w bXLzcS+7dnseVlWbdaf03arE8MOB+Hp5/EA6NelR3JAGFeHuS/yzFSmsHVvp+HWepJiZ BD6tEWNaHKDJy9jjB07yI3syLpQKU9I/TRBVw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=b575j5BSyEP8qtvwecB5dMUT09Fzr4/b1J6q8gWMVliQyq+mRousu+skQmOAZ42CtY 5ApYE7iHtHOI4e61MgxFT/O7Qzu4zg3SCbRhsaBI6qf0RKFgtkxz6P8ze6p64xvntH4f uTHrFiaIKoQkgk+2c9H2KGgLw3zv0Xma/d/UA= MIME-Version: 1.0 Date: Fri, 7 May 2010 06:54:01 +1200 Message-ID: Subject: reduce_overflow_error on map function From: Ryan Ramage To: user Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org I have a function like the following (which is 'by the book' in the Finding Your Data With Views chapter) function(doc) { if(doc.tags.length > 0) { for(var idx in doc.tags) { emit(doc.tags[idx], null); } } } There is no reduce function. But when I run on a very small data set (hundreds) I get the following error: {"error":"reduce_overflow_error","reason":"Reduce output must shrink more rapidly: Current output: '[[[\"Last_A8Sj9sj\",\"Person_c7114514770d9cf2a28fb5732a1a1c32\",\"Audio_Post_Processing\",\"Calgary\",\"Idea\"'... (first 100 of 452 bytes)"} Each doc has no duplicate tags, and no more than 3 tags. I am running couchdb 0.11 on windows. Any ideas?