[ https://issues.apache.org/jira/browse/LUCENE-4246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13420616#comment-13420616 ]
Uwe Schindler commented on LUCENE-4246: --------------------------------------- bq. Perhaps, if you want to simplify, close() should just commit and NEVER wait for merges. If someone wants that, he can call commit() + waitForMerges(). Yes! I just repeat from the other issue: As CMS is involved, e.g. CMS.close() is interruptible, as it calls join() on all spawned merge threads after informing them to stop working. But as they are separate threads, there is some wait operation involved. We can simplify here, but we should still make IndexWriter.close() not interruptible. > Fix IndexWriter.close() to not commit or wait for pending merges > ---------------------------------------------------------------- > > Key: LUCENE-4246 > URL: https://issues.apache.org/jira/browse/LUCENE-4246 > Project: Lucene - Core > Issue Type: Bug > Reporter: Robert Muir > Assignee: Robert Muir > Fix For: 4.0 > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org