From couchdb-user-return-1567-apmail-incubator-couchdb-user-archive=incubator.apache.org@incubator.apache.org Mon Oct 20 17:22:24 2008 Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 9782 invoked from network); 20 Oct 2008 17:22:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Oct 2008 17:22:24 -0000 Received: (qmail 34791 invoked by uid 500); 20 Oct 2008 17:22:25 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 34761 invoked by uid 500); 20 Oct 2008 17:22:25 -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 34750 invoked by uid 99); 20 Oct 2008 17:22:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Oct 2008 10:22:25 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ytakanoster@gmail.com designates 209.85.217.20 as permitted sender) Received: from [209.85.217.20] (HELO mail-gx0-f20.google.com) (209.85.217.20) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Oct 2008 17:21:15 +0000 Received: by gxk13 with SMTP id 13so4986326gxk.12 for ; Mon, 20 Oct 2008 10:20:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=b8/aPJn2mGGujaR8I3gvq1dkd5JX0NgYdw3h9LDudS8=; b=PG8c5QmFpF9E1SHq/ZJvodZWK1jrE99RMf9X+i6Ms9yjIUmk83My8c50X5eaepzteT JYjk3c5DkwE1dFiwEOxmoVSVLR5KUQcs/oNaulkkWG5c9YrIdZeWiKhnPzs3cW83kd85 ELGcyR8BE8Wlxs0yKVi5/cZCRkHmzeHfAXXWI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=ifn5OT6b4wDyj2KM2wq1ED02t2gXuB7LpcxTc56ZMqBV2yZjBC3MH+T0840pHwGw/M y/4hbca6UaKlU1Ta+Lctr3fnkf4T19LIouXYOY7XG+uL7aDk1Pu7KsLMn3aPavHE6SNE xRrFclHXJ28nxvQwSuRCRh7eo5yPYhecaf/ko= Received: by 10.65.100.17 with SMTP id c17mr2739500qbm.48.1224523252543; Mon, 20 Oct 2008 10:20:52 -0700 (PDT) Received: by 10.64.149.3 with HTTP; Mon, 20 Oct 2008 10:20:52 -0700 (PDT) Message-ID: Date: Tue, 21 Oct 2008 02:20:52 +0900 From: "Yuuki Takano" Sender: ytakanoster@gmail.com To: couchdb-user@incubator.apache.org Subject: Re: couchDB gave up building views In-Reply-To: <5CB795A1-2DCE-45D5-BBEC-3828AD6928D7@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5CB795A1-2DCE-45D5-BBEC-3828AD6928D7@apache.org> X-Google-Sender-Auth: 9daaa3273a09c4a5 X-Virus-Checked: Checked by ClamAV on apache.org Thank you very much. > One, your HTTP request should block until the view returns. If the > HTTP request times out you can just try again, or notify your user, or > what ever is appropriate. OK. I underdtand, tank you! I'll try it later. > The error that you received about the timeout in couch means your map > functions have a bug that is preventing them from returning data to > couch. Aftering fixing that issue, things should work smoothly. My map functions work well when there is a few document. > I'm guessing you are on an old version of Erlang. Build erlang from the latest source at erlang.org Thank you, but I use the earliest version of Erlang (v5.6.4). 2008/10/20 Damien Katz : > I'm guessing you are on an old version of Erlang. Build erlang from the > latest source at erlang.org > > -Damien > > > On Oct 20, 2008, at 9:07 AM, Yuuki Takano wrote: > >> Hi there, >> >> I inserted 20,000 documents into couchDB, and looked up views of it. >> However , couchDB gave up building views because of timed out. >> >> The views were quite simple, such as >> >> function(doc) { >> if (doc.type == 'vote') { >> emit([doc.service, doc.user, doc.item], doc); >> } >> } >> >> It seems that couchDB does not support many documents at this version >> (0.8.1). >> Is that right? >> >> Regards, >> >> -- Yuuki Takano > >