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

MLTQParser throws NPE when a wrong doc id is sent

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0, 5.1
    • Fix Version/s: 5.2
    • Component/s: query parsers
    • Labels:
      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

            People

            • Assignee:
              anshumg Anshum Gupta
              Reporter:
              anshumg Anshum Gupta
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: