couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Davis <>
Subject Re: blocking during view generation
Date Mon, 21 Mar 2011 22:15:12 GMT
On Mon, Mar 21, 2011 at 5:36 PM, Dirkjan Ochtman <> wrote:
> On Mon, Mar 21, 2011 at 19:05, Paul Davis <> wrote:
>> Also of note is that the updates are grouped at the _design/doc level,
>> so if you want to update some subset of views individually you just
>> need to split them amongst a set of _design/docs. There's also a
>> scheme that lets you create a temporary _design/doc that can be moved
>> over top of the existing version to have quickly updated views, but
>> this approach requires you to have the disk capacity to have both
>> versions built on disk simultaneously.
> Is that scheme documented anywhere? It sounds useful, but I'm not
> exactly sure how I'd go about doing that.
> Cheers,
> Dirkjan

I don't know if its been written up anywhere, but the basic idea is
that you just create a copy of the design doc, update it with new
code, build the indexes and move it back to the original docid.

View raw message