[ https://issues.apache.org/jira/browse/LUCENE-2249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829790#action_12829790 ]
Simon Willnauer commented on LUCENE-2249: ----------------------------------------- Current implementation of ParallelMultiSearcher uses a cached thread pool with a core size of 0 and a keep alive time of 60 seconds. This will not leak any threads but closing it is a good idea anyway. I will move this to minor and I don't think its a bug either but good that you found it! Thanks > ParallelMultiSearcher should shut down thread pool on close > ----------------------------------------------------------- > > Key: LUCENE-2249 > URL: https://issues.apache.org/jira/browse/LUCENE-2249 > Project: Lucene - Java > Issue Type: Bug > Components: Search > Affects Versions: 3.0 > Reporter: Martin Traverso > Attachments: LUCENE-2249.patch > > > ParallelMultiSearcher does not shut down its internal thread pool on close. > As a result, programs that create multiple instances of this class over their > lifetime end up "leaking" threads. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org