lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-4246) Fix IndexWriter.close() to not commit or wait for pending merges
Date Tue, 24 Jul 2012 12:50:35 GMT

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

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

{quote}
Pain or not, waiting for merges is important, to avoid the starvation
case where the user never waits for merges and so the biggish ones
never get a chance to complete.

We can't make that the default: it's too trappy. Apps that open an
IW, index the current batch of new or changed docs, close IW (a
reasonable way to use IW), would at some point get waaay too many
segments in their index.
{quote}

I think its also trappy to wait for merges by default: many
people have rapidly changing content and time to visibility 
is important.

Unfortunately we know some apps close() the IndexWriter whenever
they make changes visible: you can tell me these apps are broken,
etc, etc, but our PMC just released one of those this weekend.

                
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message