Re: Index HotSwap

2007-08-24 Thread Jérôme Etévé
On 8/21/07, Chris Hostetter <[EMAIL PROTECTED]> wrote: > > : I'm wondering what's the best way to completely change a big index > : without loosing any requests. > > use the snapinstaller script -- or adopt the same atomic copying approach > it uses. I'm having a look :) > : - Between the two

Re: Index HotSwap

2007-08-21 Thread Chris Hostetter
: I'm wondering what's the best way to completely change a big index : without loosing any requests. use the snapinstaller script -- or adopt the same atomic copying approach it uses. : - Between the two mv's, the directory dir does not exists, which can : cause some solr failure. this shoul

RE: Index HotSwap

2007-08-21 Thread Gunther, Andrew
the other. Not being fluent in load balancing I believe in theory this could work. -Andrew -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jérôme Etévé Sent: Tuesday, August 21, 2007 1:52 PM To: solr-user@lucene.apache.org Subject: Index HotSwap Hi

Index HotSwap

2007-08-21 Thread Jérôme Etévé
Hi all, I'm wondering what's the best way to completely change a big index without loosing any requests. That's how I do at the moment: solr index is a soft link to a directory dir. When I want to install a new index (in dir.new), I do a mv dir dir.old ; mv dir.new dir Then I ask for a relo