Lucene - Core
  1. Lucene - Core
  2. LUCENE-5289

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.4
    • Fix Version/s: 4.5.1, Trunk
    • 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

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

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development