On Wed, Feb 4, 2009 at 1:36 PM, Paul Davis <[email protected]> wrote: > On Wed, Feb 4, 2009 at 4:16 PM, Damien Katz <[email protected]> wrote: >> This would certainly be a nice thing to have, but you can get pretty much >> the same behavior by simply using a new design document id. >> >> -Damien >> > > An extension to Damien's idea I just thought of loading the new > _design doc under a different name and generating the views. With a > patch to MOVE we could also rename the view file on disk. Making sure > the swap was atomic could be a PITA though. >
Yes, index preserving MOVEs could be pretty handy. Then a deploy script could push the new design, query the view, and when the query returns, MOVE the staging design doc into production. Thanks Paul, this is simpler... -- Chris Anderson http://jchris.mfdz.com
