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

Allow DirectoryReader.openIfChanged to an IndexCommit when reader is NRT

    Details

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

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

              Dates

              • Created:
                Updated:
                Resolved: