Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-5289

IndexWriter.hasUncommittedChanges() returns false if there are pending delete by term only

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.4
    • Fix Version/s: 4.5.1, 6.0
    • Component/s: core/index
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      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

        Attachments

        1. LUCENE-5289.patch
          1 kB
          Shalin Shekhar Mangar
        2. LUCENE-5289.patch
          3 kB
          Michael McCandless

          Activity

            People

            • Assignee:
              mikemccand Michael McCandless
              Reporter:
              shalinmangar Shalin Shekhar Mangar
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: