Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 89780 invoked from network); 8 Mar 2011 01:23:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Mar 2011 01:23:11 -0000 Received: (qmail 98450 invoked by uid 500); 8 Mar 2011 01:23:09 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 98408 invoked by uid 500); 8 Mar 2011 01:23:09 -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 98400 invoked by uid 99); 8 Mar 2011 01:23:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Mar 2011 01:23:09 +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.214.180 as permitted sender) Received: from [209.85.214.180] (HELO mail-iw0-f180.google.com) (209.85.214.180) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Mar 2011 01:23:05 +0000 Received: by iwn6 with SMTP id 6so5877991iwn.11 for ; Mon, 07 Mar 2011 17:22:44 -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:content-type; bh=0PdPU41I4Iz5iaIlFgSbor9dk6lneqGYUzlXmu387Pc=; b=FdOhU3M7qGDGAgFLnTgFg7lhmbKtJf8ptQekrcHbhkh79FO26gm1epNjrblEFjwU9c jpkiMOLVupqhFqWekoPVLo/BSk7lETMm1HBUHdW4LQvKS25eFRyLBUROe8Te585AS89n 2g5hueMoQE2qylHysx7OtbPLKGWVlzNRXk410= 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 :content-type; b=S6ilpwWNo8jctrv5XF9FZFYbn6KWfwUlMngj4R17FUVYT5bBAq8diD0FjC5sdYFF6J Fr4gxsdzsd/PDhpGSMgUEp0jIrdDQW8z47Z1l35kqnxC/a659huNbrlhMQJ/rN06o+UO KWJd4h4hAtZj8BCyC1/YVrSzQydWMwV9vEQw8= MIME-Version: 1.0 Received: by 10.43.45.135 with SMTP id uk7mr3654401icb.301.1299547364231; Mon, 07 Mar 2011 17:22:44 -0800 (PST) Received: by 10.42.2.75 with HTTP; Mon, 7 Mar 2011 17:22:44 -0800 (PST) In-Reply-To: References: <5AE1A6A7-2024-4FA6-8A2A-64E447E19F87@thenoi.se> Date: Mon, 7 Mar 2011 17:22:44 -0800 Message-ID: Subject: Re: Manually trigger view rebuild From: Randall Leeds To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=bcaec5299fdb03881d049dee733a --bcaec5299fdb03881d049dee733a Content-Type: text/plain; charset=UTF-8 On Mon, Mar 7, 2011 at 15:34, Nils Breunese wrote: > I believe even a HEAD request will work, in which case there is no need to > specify a limit, since there will be no response body. :o) > > I would still specify a limit. Right now the HEAD implementation in CouchDB is written as "Pretend it's a GET and then discard the body" so while you save the network bandwidth you still do the full work on the server side. > Nils. > ________________________________________ > Van: Randall Leeds [randall.leeds@gmail.com] > Verzonden: maandag 7 maart 2011 22:33 > Aan: user@couchdb.apache.org > CC: Martin Hewitt > Onderwerp: Re: Manually trigger view rebuild > > 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 > ------------------------------------------------------------------------ > VPRO www.vpro.nl > ------------------------------------------------------------------------ > --bcaec5299fdb03881d049dee733a--