Hi Chantal, thanks for replying.
It is very helpfull, and I think I am in the right path.

As the database is not changed during the night, my idea is to add a cron
job to re-index that at this time. The main problem is there is no separate
service indexing the data. The applicaton is using Java+Grails and a Grails
plugin for Solr, which integrates to the grails domain classes. When a
domain class is saved through the application, this plugins add/remove that
from the index automatically.

After some research I noticed that if there was a separate Solr server, I
could post a call using HTTP to the Solr server, but the application is
using an embedded server.

I have found in the file system where the solr data and indexes are being
saved, but I don not know if Solrj has some utility class that could be
called from command line using those files, in a cron job schedule. Do you
know if it is possible?

Best regards.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Rebuild-index-after-database-change-tp3998257p3998311.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to