Re: Hook for destructing a plugin

2013-05-31 Thread Shalin Shekhar Mangar
You can use SolrCore.addCloseHook method to release your plugin's resources. On Fri, May 31, 2013 at 5:29 PM, Hongxin Liang wrote: > Hi, > > I tried to develop a Solr plugin, more specifically a request handler. > There is an "init" method that I can hook in my initialization logic, but I > coul

Hook for destructing a plugin

2013-05-31 Thread Hongxin Liang
Hi, I tried to develop a Solr plugin, more specifically a request handler. There is an "init" method that I can hook in my initialization logic, but I couldn't manage to find the corresponding "destroy" method in which I can tear down something. Also I tried to find some kind of event I can li