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

Michael McCandless commented on LUCENE-5079:
--------------------------------------------

I think volatile is best ... there is IO that happens when "this" is locked, 
e.g. when applying deletes.
                
> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to