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 reload of the solr application (within tomcat). I can see two problems with this method: - Between the two mv's, the directory dir does not exists, which can cause some solr failure. - Apparently It's not that safe to reload a webapp within tomcat. I thought it was the equivalent of the apache graceful reloading (completing current requests and putting incoming ones into a queue while the application restarts), but it's apparently not. I noticed we have a couple of query lost when it happens. One is a 503 This application is not currently available, and the one just after is a 404 /solr//select/ - The requested resource (/solr//select/) is not available. Does anybody know how to avoid this behaviour, and eventually what is the best way to swap between two big indexes. Thanks for any help ! Jerome. -- Jerome Eteve. [EMAIL PROTECTED] http://jerome.eteve.free.fr/