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

Yonik Seeley commented on LUCENE-5079:
--------------------------------------

bq. Any synchronization in this method is unlikely to be a bottleneck

It's unclear to me if there is any IO that goes on with the lock on "this" 
held...
                
> allow IndexWriter user to tell if there are uncommitted changes.
> ----------------------------------------------------------------
>
>                 Key: LUCENE-5079
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5079
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Yonik Seeley
>         Attachments: LUCENE-5079.patch, LUCENE-5079.patch
>
>
> IndexWriter already currently tracks if there are uncommitted changes.  We 
> should expose this somehow... perhaps a boolean hasUncommittedChanges()?

--
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