Hi,

I'm using Solr 3.6.1 in an application embedded directly, i.e. via
EmbeddedSolrServer, not over an HTTP connection, which works
perfectly. Our application uses Thread.interrupt() for canceling
long-running tasks (e.g. through Future.cancel). A while (and a few
Solr versions) back a colleague of mine implemented a workaround
because he said that Solr didn't handle the thread's interrupted
status correctly, i.e. not setting the interrupted status after having
caught an InterruptedException or rethrowing it, thus killing the
information that an interrupt has been requested, which breaks
libraries relying on that. However, I did not find anything up-to-date
in mailing list or forum archives on the web. Is that still or was it
ever the case? What does one have to watch out for when interrupting a
thread that is doing anything within Solr/Lucene?

Any advice would be appreciated.

Regards,

Robert

Reply via email to