lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <>
Subject Re: Merging Indices
Date Fri, 05 Dec 2008 17:32:10 GMT
On Thu, Dec 4, 2008 at 6:39 PM, ashokc <> wrote:
> The SOLR wiki says
>>>3. Make sure both indexes you want to merge are closed.
> What exactly does 'closed' mean?

If you do a commit, and then prevent updates, the index should be
closed (no open IndexWriter).

> 1. Do I need to stop SOLR search on both indexes before running the merge
> command? So a brief downtime is required?
> 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?

Preventing updates/deletes should be sufficient.

> 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

Yes, simply moving the index should work if you are careful to avoid
any updates since the last commit.

> 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.
> Thanks
> - ashok
> --
> View this message in context:
> Sent from the Solr - User mailing list archive at

View raw message