Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-7418

MLTQParser throws NPE when a wrong doc id is sent

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0, 5.1
    • 5.2
    • query parsers
    • None

    Description

      MLTQParser throws an NPE when a non-existent document id is sent in the request. It should instead either return 0 results or throw a Solr exception with the correct error message.

      Attachments

        Activity

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

          People

            anshum Anshum Gupta
            anshum Anshum Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment