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

Solr can throw an exception on distributed search due to bad if statement in FacetComponent.java:99

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.4
    • Component/s: search
    • Labels:
      None

      Description

      When issuing a distributed request, the aggregator node caused an exception due to the following code at line 99 in FacetComponent.java

       if (refList == null | refList.size()==0) continue;
      

      note the single pipe for a bitwise OR rather than boolean OR

      Change code to:

      if (refList == null || refList.size() == 0) continue;
      

        Attachments

          Activity

            People

            • Assignee:
              shalinmangar Shalin Shekhar Mangar
              Reporter:
              jminard Jayson Minard
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: