Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to really often the synonyms_*.txt in the solr server. I have 2 cores. One for the production System and one the staging. I copy with incron and scp the new generated synonymes to the solr server and restart the tomcat to reload it.

But it can be broken if any config is crap or any product is actually in the update process. Give it any solution to restart/reload one core only via cli?

Thanks for your help.


share|improve this question
Can you clarify what you mean by "cores"? Do you mean it's two independent copies of the solr webapp? – Shane Madden Feb 1 '12 at 17:05
up vote 1 down vote accepted

you can reload a core via the API

Have a look:

use wget to call a reload on your core

share|improve this answer
I have written an small shell script for this: – Dennis Wisnia May 30 '12 at 8:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.