0

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.

Dennis

  • 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
1

you can reload a core via the API

Have a look: http://wiki.apache.org/solr/CoreAdmin#RELOAD

use wget to call a reload on your core

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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