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

SearchComponents may throw NPE when using shards.tolerant and there is a failure in the “GET_FIELDS/GET_HIGHLIGHTS/GET_DEBUG” phase

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.9, 6.0
    • 4.10, 6.0
    • None
    • None

    Description

      I found that, when using shards.tolerant, if there is some kind of exception in the second phase of the search, some component’s throw NPE.
      I found it with the QueryComponent first, but then saw that other components would suffer in the same way: DebugComponent, HighlightComponent and MLTComponent. I only checked the components of the default chain.

      Attachments

        1. SOLR-6223.patch
          20 kB
          Tomas Eduardo Fernandez Lobbe

        Issue Links

          Activity

            People

              shalin Shalin Shekhar Mangar
              tflobbe Tomas Eduardo Fernandez Lobbe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: