On Fri, Dec 5, 2008 at 5:09 AM, ashokc <[EMAIL PROTECTED]> wrote: > > The SOLR wiki says > > >>3. Make sure both indexes you want to merge are closed. > > What exactly does 'closed' mean?
I think that would mean that the IndexReader and IndexWriter on that index are closed. 1. Do I need to stop SOLR search on both indexes before running the merge > command? So a brief downtime is required? I think so. > Or do I simply prevent any 'updates/deletes' to these indices during the > merge time so they can still serve up results (read only?) while I am > creating a new merged index? > > 2. Before the new index replaces the old index, do I need to stop SOLR for > that instance? Or can I simply move the old index out and place the new > index in the same place, without having to stop SOLR The rsync based replication in Solr uses similar schema. It creates hardlinks to the new index files over the old ones. > 3. If SOLR has to be stopped during the merge operation, can we work with a > redundant/failover instance and stagger the merge so the search service > will > not go down? Any guidelines here are welcome. It is not very clear as to what you are actually trying to do. Why do you even need to merge indices? Are you creating your index outside of Solr? Just curious to know your use-case. -- Regards, Shalin Shekhar Mangar.