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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.9, Trunk
    • Fix Version/s: 4.10, Trunk
    • Component/s: None
    • Labels:
      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.

      1. SOLR-6223.patch
        20 kB
        Tomás Fernández Löbbe

        Issue Links

          Activity

          Tomás Fernández Löbbe created issue -
          Tomás Fernández Löbbe made changes -
          Field Original Value New Value
          Summary QueryComponents may throw NPE when using shards.tolerant and there is a failure in the “GET_FIELDS/GET_HIGHLIGHTS/GET_DEBUG” phase SearchComponents may throw NPE when using shards.tolerant and there is a failure in the “GET_FIELDS/GET_HIGHLIGHTS/GET_DEBUG” phase
          Tomás Fernández Löbbe made changes -
          Attachment SOLR-6223.patch [ 12654009 ]
          Shalin Shekhar Mangar made changes -
          Assignee Shalin Shekhar Mangar [ shalinmangar ]
          Shalin Shekhar Mangar made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 5.0 [ 12321664 ]
          Fix Version/s 4.10 [ 12327122 ]
          Resolution Fixed [ 1 ]
          Patanachai Tangchaisin made changes -
          Link This issue is related to SOLR-4186 [ SOLR-4186 ]
          Shalin Shekhar Mangar made changes -
          Link This issue is duplicated by SOLR-4186 [ SOLR-4186 ]
          Patanachai Tangchaisin made changes -
          Link This issue is related to SOLR-4186 [ SOLR-4186 ]

            People

            • Assignee:
              Shalin Shekhar Mangar
              Reporter:
              Tomás Fernández Löbbe
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development