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 Bug
    • Status: Closed
    • Priority: Critical 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;
      

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development