[
https://issues.apache.org/jira/browse/LUCENE-4246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13539279#comment-13539279
]
Yonik Seeley commented on LUCENE-4246:
--------------------------------------
I'd suggest that close() should remain "commit and close" since it's been that
way forever and certainly doesn't make sense to change in 4x, esp since if you
go back far enough the only way to commit was to call close(). Many older apps
that have been upgraded will start breaking. IMO, the mistake was introduced
when close() became partial (i.e. if it throws an exception it doesn't fully
clean up). That's the only thing that really needs fixing here.
We already have rollback for "close immediately even if it means dropping
uncommitted changes".
> 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.1
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]