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

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

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core/index
    • Labels:
      None
    • Lucene Fields:
      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

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hossman Chris M. Hostetter

              Dates

              • Created:
                Updated:

                Issue deployment