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

Allow DirectoryReader.openIfChanged to an IndexCommit when reader is NRT

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.3, 6.0
    • None
    • None
    • New

    Description

      This throws an IllegalArRgumentException today, but it's easy to fix
      with a small change to DirectoryReader. This is useful to do, if you
      have an NRT reader and want to open a reader against a previous commit
      point while sharing the SegmentReaders they have in common.

      Attachments

        1. LUCENE-4898.patch
          2 kB
          Michael McCandless

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: