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

TokenFilters with a null value in the constructor fail

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.9
    • 2.9
    • None
    • None
    • New

    Description

      While migrating from 2.4.x to 2.9-dev I found a lot of failing unittests.
      One problem is with TokenFilters that do a super(null) in the constructor.
      I fixed it by changing the constructor to super(new EmptyTokenStream())
      This will cause problems and frustration to others while migrating to 2.9.

      Attachments

        1. LUCENE-1636.patch
          0.6 kB
          Uwe Schindler

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: