[
https://issues.apache.org/jira/browse/LUCENE-4246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13421258#comment-13421258
]
Uwe Schindler commented on LUCENE-4246:
---------------------------------------
bq. I repeat my proposal again – let's change close() to never wait for merges
(i.e. remove the close(boolean) variant) – that IMO is behavior I doubt if
people rely on (merges are a form of optimization, not program correctness and
potential data loss).
+1 - If you look at my changes in LUCENE-4245 you will see that waitForMerges
is a pain. I finally got it working that IW.close() now for sure cleans up
(means IOUtils.close MergePolicy and MergeScheduler, whatever happened). The
implicit flush() and commit() are hairy, but doable.
> 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: [email protected]
For additional commands, e-mail: [email protected]