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

original/default Highlighter's constructor should throw if passed null args

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

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 7.0, 8.0
    • modules/highlighter
    • None
    • New

    Description

      The default/original Highlighter has a constructor that takes several parameters, including an Encoder. If per chance these are null, we'll throw an exception later at highlight time but it's nicer to get an exception eagerly. It will also avoid the LUCENE-6979 trap.

      Attachments

        Issue Links

        Activity

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

          People

            Unassigned Unassigned
            dsmiley David Smiley
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment