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)

Nils.
________________________________________
Van: Randall Leeds [[email protected]]
Verzonden: maandag 7 maart 2011 22:33
Aan: [email protected]
CC: Martin Hewitt
Onderwerp: Re: Manually trigger view rebuild

On Mon, Mar 7, 2011 at 06:59, Martin Hewitt <[email protected]> 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
------------------------------------------------------------------------

Reply via email to