[ 
https://issues.apache.org/jira/browse/LUCENE-4246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13538031#comment-13538031
 ] 

Robert Muir commented on LUCENE-4246:
-------------------------------------

{quote}
What I'm really dying for is just a close that is sure to close. 
{quote}

And thats *all* close() should do!

close() should throw IOException (not other things)
close() shouldnt wait on background merges
close() definitely shouldnt commit anything.

I don't understand why this is so controversial. Just look at the 
java.io.Closeable semantics if you want to understand how users expect close() 
to work.
                
> 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]

Reply via email to