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

TokenFilters with a null value in the constructor fail

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.9
    • Fix Version/s: 2.9
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: