From couchdb-user-return-1278-apmail-incubator-couchdb-user-archive=incubator.apache.org@incubator.apache.org Fri Sep 12 12:09:42 2008 Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 84930 invoked from network); 12 Sep 2008 12:09:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Sep 2008 12:09:42 -0000 Received: (qmail 50653 invoked by uid 500); 12 Sep 2008 12:09:38 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 50620 invoked by uid 500); 12 Sep 2008 12:09:38 -0000 Mailing-List: contact couchdb-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-user@incubator.apache.org Delivered-To: mailing list couchdb-user@incubator.apache.org Received: (qmail 50609 invoked by uid 99); 12 Sep 2008 12:09:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Sep 2008 05:09:38 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.97.50.139] (HELO jan.prima.de) (83.97.50.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Sep 2008 12:08:39 +0000 Received: from [192.168.1.122] (f053002011.adsl.alicedsl.de [::ffff:78.53.2.11]) (AUTH: LOGIN jan, SSL: TLSv1/SSLv3,128bits,AES128-SHA) by jan.prima.de with esmtp; Fri, 12 Sep 2008 12:08:57 +0000 Message-Id: <61DEA73A-5E3C-4AFE-80F9-A8577D85F068@apache.org> From: Jan Lehnardt To: couchdb-user@incubator.apache.org In-Reply-To: <928bdd8e0809112013h24c91808h650a484208eb6ae8@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v928.1) Subject: Re: view access keeps timing out Date: Fri, 12 Sep 2008 14:08:25 +0200 References: <928bdd8e0809101925q1f5963ccsca8e0425a9b289eb@mail.gmail.com> <928bdd8e0809111011y7851e58flb60d691b4826e5d5@mail.gmail.com> <7c40ded80809111044h694a671cta793be9a161ef575@mail.gmail.com> <928bdd8e0809111231t4c17f7e3q9eec1d44bee99140@mail.gmail.com> <928bdd8e0809112013h24c91808h650a484208eb6ae8@mail.gmail.com> X-Mailer: Apple Mail (2.928.1) X-Virus-Checked: Checked by ClamAV on apache.org On Sep 12, 2008, at 5:13 , william kinney wrote: > i removed the reduce function as well :-\ > > On Thu, Sep 11, 2008 at 11:09 PM, Chris Anderson > wrote: > >> On Thu, Sep 11, 2008 at 12:31 PM, william kinney >> wrote: >>> I simplified the map function to: >>> >>> function(doc) { >>> emit(doc._id, doc); >>> } >>> >> What about emit(doc._id, null); as suggested earlier? Actually, emit(null, null) will do since a doc's _id is always included in the view result list. Cheers Jan --