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 3DA35DD39 for ; Mon, 19 Nov 2012 15:18:36 +0000 (UTC) Received: (qmail 70336 invoked by uid 500); 19 Nov 2012 15:18:34 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 70025 invoked by uid 500); 19 Nov 2012 15:18:33 -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 69995 invoked by uid 99); 19 Nov 2012 15:18:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2012 15:18:32 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [173.201.192.231] (HELO p3plsmtpa07-02.prod.phx3.secureserver.net) (173.201.192.231) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 19 Nov 2012 15:18:24 +0000 Received: (qmail 17759 invoked from network); 19 Nov 2012 15:18:00 -0000 Received: from unknown (107.3.75.72) by p3plsmtpa07-02.prod.phx3.secureserver.net (173.201.192.231) with ESMTP; 19 Nov 2012 15:18:00 -0000 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: how to create a count field From: Bob Dionne In-Reply-To: <50aa3ef6.0858420a.15c4.ffffdda1@mx.google.com> Date: Mon, 19 Nov 2012 10:18:02 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <71B80057-4437-4262-BCBB-52098AADE014@dionne-associates.com> References: <50aa3ef6.0858420a.15c4.ffffdda1@mx.google.com> To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1499) X-Virus-Checked: Checked by ClamAV on apache.org =E9=81=BA=E6=86=BE =E6=9C=AC=E6=AC=A1=E8=AB=96=E5=A3=87=E6=98=AF=E8=8B=B1=E8=AA=9E=E8=AA=9E=E8= =A8=80 On Nov 19, 2012, at 9:15 AM, fzuslide@gmail.com wrote: >=20 >=20 > =E5=8F=91=E9=80=81=E8=87=AAHTC=E6=89=8B=E6=9C=BA >=20 > ----- Reply message ----- > =E5=8F=91=E4=BB=B6=E4=BA=BA=EF=BC=9A "Cheng" > =E6=94=B6=E4=BB=B6=E4=BA=BA=EF=BC=9A > =E4=B8=BB=E9=A2=98=EF=BC=9A how to create a count field > =E6=97=A5=E6=9C=9F=EF=BC=9A =E5=91=A8=E4=B8=80, 11 =E6=9C=88 19 =E6=97=A5= , 2012 =E5=B9=B4 18:44 >=20 >=20 > Does it need to keep 1000 rev log for this?=20 >=20 > Robert Newson =E7=BC=96=E5=86=99=EF=BC=9A >=20 >> Hi, >>=20 >> You will need to update that field yourself (perform a POST or PUT). >>=20 >> I don't understand "how to copy with _revs_limit", but I will say = that it's >> not common to alter _revs_limit. >>=20 >>=20 >> On 19 November 2012 08:15, goog cheng wrote: >>=20 >>> I have docs which contain attachments in it and want to count the >>> downloaded times of an attachment. how to create a field which add >>> automatically by one every access to attachment? and how to copy = with >>> _revs_limit? any guide would be greatly appreciated! >>>=20