RE: Reference to SolrCore from SearchComponent

2016-07-21 Thread Ellis, Tom (Financial Markets IT)
Thanks! -Original Message- From: Joel Bernstein [mailto:joels...@gmail.com] Sent: 21 July 2016 19:51 To: solr-user@lucene.apache.org Subject: Re: Reference to SolrCore from SearchComponent -- This email has reached the Bank via an external source -- There is a SolrCoreAware

Re: Reference to SolrCore from SearchComponent

2016-07-21 Thread Joel Bernstein
There is a SolrCoreAware interface you can implement, which will provide access to the SolrCore. From there you can add a closeHook to the core. Joel Bernstein http://joelsolr.blogspot.com/ On Thu, Jul 21, 2016 at 2:34 PM, Ellis, Tom (Financial Markets IT) < tom.el...@lloydsbanking.com.invalid> w

Reference to SolrCore from SearchComponent

2016-07-21 Thread Ellis, Tom (Financial Markets IT)
Hi There, I'm in the process of creating a custom SearchComponent. This component will have a long running thread performing an action to keep a list updated. As SearchComponents do not seem to have a destroy/close hook, I was wondering if there is a way of getting a reference to the SolrCore t