[
https://issues.apache.org/jira/browse/LUCENE-4246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13960224#comment-13960224
]
Michael McCandless commented on LUCENE-4246:
--------------------------------------------
bq. ok so this is actually why I ask... in that case I think adding the boolean
to shutDown is a good idea since writing this yourself seems more complicated
than just call flush(true, true) && abortMerges() && commit && close ?
You mean add boolean waitForMerges? We could do that I guess. But app could
also just do IW.abortMerges() then call shutdown? I was leaning to that option.
> 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: Michael McCandless
> Fix For: 4.8
>
> Attachments: LUCENE-4246.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]