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

NRT readers don't always reflect last commit

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: