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

TokenFilters with a null value in the constructor fail

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment