Hmmm, seems like it should. But..... 1> if this is a WIndows box, then any open searchers will prevent the deletion from happening. 2> if this is a *nix box, and anything has the files open, the files will hang around until the process that has them open goes away.
Best Erick On Tue, Mar 27, 2012 at 5:23 PM, vybe3142 <vybe3...@gmail.com> wrote: > From what I understand, isn't the index file deletion an expected result? > > Thanks > > > public int drop(...., boolean removeIndex) =======> removeIndex passed > in as true > throws Exception { > String coreName = ..... > Unload req = new Unload(removeIndex); > req.setCoreName(coreName); > SolrServer adminServer = buildAdminServer(); > ... > return req.process(adminServer).getStatus(); =======> removes > reference to solr core in solr.xml but doesn't delete the index file > } > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Unload-true-doesn-t-delele-Index-file-when-unloading-a-core-tp3862816p3862816.html > Sent from the Solr - User mailing list archive at Nabble.com.