Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A881DD1CF for ; Mon, 9 Jul 2012 19:50:16 +0000 (UTC) Received: (qmail 79537 invoked by uid 500); 9 Jul 2012 19:50:15 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 79427 invoked by uid 500); 9 Jul 2012 19:50: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 79417 invoked by uid 99); 9 Jul 2012 19:50:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jul 2012 19:50:15 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of joao.sigma@gmail.com designates 74.125.83.52 as permitted sender) Received: from [74.125.83.52] (HELO mail-ee0-f52.google.com) (74.125.83.52) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jul 2012 19:50:10 +0000 Received: by eeke53 with SMTP id e53so4184374eek.11 for ; Mon, 09 Jul 2012 12:49:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=QVPwHt/iB2j7jgALxncTDfDisdxjUlePmMCuv1T9QVY=; b=E0XDojOfbLO574ZMm0up5lg6dILgh/KFR3WoamsELm/yBicuUFHF2VTPdxKRS1UNA2 2pA6kENo1hAGZuJ+pOEDl/Z7vEizfes/naN+rBYqUa3f7uLn9Ydht7I5XW4dNrrJ4wZh fwyjpDF3t8PyJy6XWDo8y5LNHqeXJMzkfM+DSF0+C7hF5zJg8DynhmDae5GIW5qf06MY m4BSledPYhgFgo9zqKMpwGGWN2fewGjUAbhYL6LxG51fdAlA518vMXTuk4A1odwyt4jd eUzhJ9od82JCsdoVCQCBuf2TI4RaR0IoqC7lhkoOKjF6wed8fnidHEazxeNB2OLNN0Wk YcFA== MIME-Version: 1.0 Received: by 10.14.119.5 with SMTP id m5mr9088967eeh.217.1341863388641; Mon, 09 Jul 2012 12:49:48 -0700 (PDT) Received: by 10.14.97.6 with HTTP; Mon, 9 Jul 2012 12:49:48 -0700 (PDT) In-Reply-To: References: Date: Mon, 9 Jul 2012 20:49:48 +0100 Message-ID: Subject: Re: Documents disappear after being created From: =?ISO-8859-1?Q?Jo=E3o_Ramos?= To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=90e6ba6150709dfccb04c46aead6 X-Virus-Checked: Checked by ClamAV on apache.org --90e6ba6150709dfccb04c46aead6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I will only be able to supply code tomorrow, but all the design docs have a single view. The map function is a single "if" with an emit inside: "emit([date.getFullYear(), date.getDate(), date.getDay()], 1)". The reduce function is simply "_sum". On Mon, Jul 9, 2012 at 7:21 PM, Simon Metson wrote: > Hi, > What do your 6 design documents look like? > Cheers > Simon > > > On Monday, 9 July 2012 at 19:03, Jo=E3o Ramos wrote: > > > Hi, > > > > I've been getting this error after I insert the first design doc in the > > database: > > > > [Fri, 06 Jul 2012 14:03:21 GMT] [info] [<0.3126.1>] 195.200.252.206 - - > PUT > > /images/_design%2Fimages_1 201 > > [Fri, 06 Jul 2012 14:03:21 GMT] [info] [<0.3663.1>] 195.200.252.206 - - > GET > > /images/_design/images_1/_view/images_1?stale=3Dok 200 > > [Fri, 06 Jul 2012 14:03:21 GMT] [info] [<0.3664.1>] 195.200.252.206 - - > PUT > > /images/_design%2Fimages_2 201 > > [Fri, 06 Jul 2012 14:03:21 GMT] [info] [<0.3662.1>] 195.200.252.206 - - > GET > > /images/_design/images_2/_view/images_2?stale=3Dok 404 > > [Fri, 06 Jul 2012 14:03:21 GMT] [info] [<0.1606.1>] 195.200.252.206 - - > PUT > > /images/_design%2Fimages_3 201 > > [Fri, 06 Jul 2012 14:03:21 GMT] [info] [<0.1604.1>] 195.200.252.206 - - > GET > > /images/_design/images_3/_view/images_3?stale=3Dok 404 > > [Fri, 06 Jul 2012 14:03:21 GMT] [info] [<0.1602.1>] 195.200.252.206 - - > PUT > > /images/_design%2Fimages_4 201 > > [Fri, 06 Jul 2012 14:03:21 GMT] [info] [<0.1603.1>] 195.200.252.206 - - > GET > > /images/_design/images_4/_view/images_4?stale=3Dok 404 > > [Fri, 06 Jul 2012 14:03:21 GMT] [info] [<0.2769.1>] 195.200.252.206 - - > PUT > > /images/_design%2Fimages_5 201 > > [Fri, 06 Jul 2012 14:03:21 GMT] [info] [<0.2770.1>] 195.200.252.206 - - > GET > > /images/_design/images_5/_view/images_5?stale=3Dok 404 > > [Fri, 06 Jul 2012 14:03:21 GMT] [info] [<0.3659.1>] 195.200.252.206 - - > PUT > > /images/_design%2Fimages_6 201 > > [Fri, 06 Jul 2012 14:03:21 GMT] [info] [<0.3550.1>] 195.200.252.206 - - > GET > > /images/_design/images_6/_view/images_6?stale=3Dok 404 > > > > > > Any ideas why this is happening? > > > > Thanks. > > --90e6ba6150709dfccb04c46aead6--