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

Questionable/Underspecified behavior of DirectoryReader.getIndexCommit() on NRT Readers

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • core/index
    • None
    • New

    Description

      It seems like DirectoryReader.getIndexCommit() returns weird
      results when using a "reopened" reader off of uncommited IW changes.

      Even though 2 diff readers will expose diff views of the index, they will
      claim to refer to the same IndexCommit (generation).

      Original email thread (no replies): http://mail-archives.apache.org/mod_mbox/lucene-dev/201910.mbox/%3Calpine.DEB.2.21.1910301611190.8171%40slate%3E

      Attachments

        1. LUCENE-9040.patch
          3 kB
          Chris M. Hostetter

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hossman Chris M. Hostetter
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: