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

Throw exception for "Multi-SortedSource" instead of returning null

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0-ALPHA
    • None
    • None
    • New

    Description

      Spinoff of LUCENE-3623: currently if you addIndexes(FIR) or similar, you get a NPE deep within codecs during merge.

      I think the NPE is confusing, it looks like a bug but a clearer exception would be an improvement.

      Attachments

        1. LUCENE-3624.patch
          1 kB
          Robert Muir

        Activity

          People

            Unassigned Unassigned
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: