Here is how I got SolrJ to delete the write.lock file. I switched to the
CoreContainer's remove() method. So the new code is:
...
SolrCore curCore = container.remove(core1);
curCore.close();
Now my understanding for why it is working. Based on Solr source code, the
issue had to do with the
Hi,
I am using SolrJ to reindex a core in a multiCore setup. The general
flow of my program is as follows (pseudo code):
String solrHome = /opt/solr/home;
File solrXml = new File( solrHome, solr.xml );
container = new CoreContainer();
container.load(solrHome, solrXml);
SolrServer solr = new