[ https://issues.apache.org/jira/browse/LUCENE-4246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13420612#comment-13420612 ]
Shai Erera commented on LUCENE-4246: ------------------------------------ Moving my comment from LUCENE-4245: Why is that different from OutputStream.close() calling flush()? Would you like to call flush() yourself everytime before you close()? I don't think there's anything we should 'fix' ... Perhaps, if you want to simplify, close() should just commit and NEVER wait for merges. If someone wants that, he can call commit() + waitForMerges(). > 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