[ https://issues.apache.org/jira/browse/LUCENE-5289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless updated LUCENE-5289: --------------------------------------- Attachment: LUCENE-5289.patch Thanks Shalin, I think this patch should fix it. It was failing to take into account any buffered changes that hadn't yet been "resolved" (which increments the changeCount). > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org