From user-return-15209-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Mon Mar 07 21:34:15 2011 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 41626 invoked from network); 7 Mar 2011 21:34:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Mar 2011 21:34:15 -0000 Received: (qmail 27642 invoked by uid 500); 7 Mar 2011 21:34:13 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 27609 invoked by uid 500); 7 Mar 2011 21:34:13 -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 27601 invoked by uid 99); 7 Mar 2011 21:34:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Mar 2011 21:34:13 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of randall.leeds@gmail.com designates 209.85.210.180 as permitted sender) Received: from [209.85.210.180] (HELO mail-iy0-f180.google.com) (209.85.210.180) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Mar 2011 21:34:08 +0000 Received: by iyf40 with SMTP id 40so5649708iyf.11 for ; Mon, 07 Mar 2011 13:33:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=z86NkkYD3k1VadAMJF2BonWLvtGC/qhMpBBNGCBelMo=; b=frf+v8exTVOP6QjDqekCvM/cjpJ1MovvHCCU62nKSJugzGsI6Fd1ne/wYxSw+4NLos ODj1amItEl1Af7jPgaDECpSVBEE/Yh655X9FXU6xbB5yT7VrBBYmlM0bcvOs2iXVqWDl l0IvHSkxIILC4gp0Z8N1ojPDpTNaeTMznh02Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=VabzDgqvkhwJCYky7YstRPQS+Xyc/fegQ7PNKt4e5JtjGmSU0DX+nDFiU9YfhrzMmS acpjk34sV9nT6Xw8Z/nDVDgWIueCxhDAE4nShJ1897rtnG2DQIO/48Xk3v5HJuN/eUbS O2nTka9AmsrQGCRGHlyRjj+ipCeRKx0yOrXeI= MIME-Version: 1.0 Received: by 10.43.51.65 with SMTP id vh1mr5384912icb.435.1299533627797; Mon, 07 Mar 2011 13:33:47 -0800 (PST) Received: by 10.42.2.75 with HTTP; Mon, 7 Mar 2011 13:33:47 -0800 (PST) In-Reply-To: <5AE1A6A7-2024-4FA6-8A2A-64E447E19F87@thenoi.se> References: <5AE1A6A7-2024-4FA6-8A2A-64E447E19F87@thenoi.se> Date: Mon, 7 Mar 2011 13:33:47 -0800 Message-ID: Subject: Re: Manually trigger view rebuild From: Randall Leeds To: user@couchdb.apache.org Cc: Martin Hewitt Content-Type: multipart/alternative; boundary=bcaec5299ad7422edf049deb40d4 --bcaec5299ad7422edf049deb40d4 Content-Type: text/plain; charset=UTF-8 On Mon, Mar 7, 2011 at 06:59, Martin Hewitt wrote: > Hi all, > > I was just wondering if there was an application hook I could use to > manually trigger a view rebuild? > > Just execute a regular request against the view. Even if you disconnect and ignore the response the build should finish. It's wise to pass ?limit=1 (I don't know if 0 works without checking) to minimize the work that Couch does to generate a response (if you don't care about it). > Thanks, > > Martin --bcaec5299ad7422edf049deb40d4--