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

    • 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

          Activity

            People

            • Assignee:
              mikemccand Michael McCandless
              Reporter:
              wheijke Wouter Heijke

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment