tags:

views:

31

answers:

1

I have a lucene index that i build and update using raw lucene indexers. I was wondering if there is a way to force solr to re-read the index without restarting the solr instance. Ive tried the update?commit=true but it doesnt seem to matter. The only way i can be sure solr -re-reads the index is by a total restart, which of course is not ideal in a production environment.

+1  A: 

If you are using a multi-core setup, you can just reload that single core. AFAIK, while the core is being reloaded, the requests to that core are queued.

Pascal Dimassimo
and if im not??
recursive9
I don't know if you can send a reload when you are not using cores. But there is nothing wrong with using a multi-core setup with only one core. It does not add any significant overhead.
Pascal Dimassimo