[
https://issues.apache.org/jira/browse/LUCENE-5289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13798042#comment-13798042
]
Shalin Shekhar Mangar commented on LUCENE-5289:
-----------------------------------------------
Thanks Mike. Your patch has some unrelated changes in TestDemo.java too.
Can we include this for 4.5.1? Solr's replication depends on this feature.
> IndexWriter.hasUncommittedChanges() returns false if there are pending delete
> by term only
> ------------------------------------------------------------------------------------------
>
> Key: LUCENE-5289
> URL: https://issues.apache.org/jira/browse/LUCENE-5289
> Project: Lucene - Core
> Issue Type: Bug
> Components: core/index
> Affects Versions: 4.4
> Reporter: Shalin Shekhar Mangar
> Assignee: Michael McCandless
> Attachments: LUCENE-5289.patch, LUCENE-5289.patch
>
>
> If there are only delete by term and no document adds, then
> IndexWriter.hasUncommittedChanges() returns false.
> http://lucene.472066.n3.nabble.com/Solr-4-4-Master-Slave-configuration-Replication-Issue-with-Commits-after-deleting-documents-using-DeD-td4094158.html
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]