janl described this idea to me last week at SXSW. You create a new
design/views, and wait for it to finish indexing, then use HTTP COPY
to replace the original design with the newly-indexed design.

David

On Mon, Mar 21, 2011 at 5:15 PM, Paul Davis <paul.joseph.da...@gmail.com> wrote:
> On Mon, Mar 21, 2011 at 5:36 PM, Dirkjan Ochtman <dirk...@ochtman.nl> wrote:
>> On Mon, Mar 21, 2011 at 19:05, Paul Davis <paul.joseph.da...@gmail.com> 
>> 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.
>

Reply via email to