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

NRT readers don't always reflect last commit

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.2, 6.0
    • None
    • None
    • New

    Description

      Two cases here:

      • When I pull an NRT reader from IW,
        IR.getIndexCommit().getSegmentsFileName() should reflect what was
        last committed, but doesn't now
      • If I call IW.commit(), or IW.setCommitData(), but make no other
        changes, and then open a new NRT reader, I think it should reflect
        the new commit, but doesn't now

      Attachments

        1. LUCENE-6505.patch
          7 kB
          Michael McCandless

        Activity

          People

            mikemccand Michael McCandless
            mikemccand Michael McCandless
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: