incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nils Breunese <>
Subject RE: Manually trigger view rebuild
Date Mon, 07 Mar 2011 23:34:42 GMT
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)

Van: Randall Leeds []
Verzonden: maandag 7 maart 2011 22:33
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

View raw message