You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2009/01/09 11:58:59 UTC
[jira] Resolved: (SOLR-950) Solr can throw an exception on
distributed search due to bad if statement in FacetComponent.java:99
[ https://issues.apache.org/jira/browse/SOLR-950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shalin Shekhar Mangar resolved SOLR-950.
----------------------------------------
Resolution: Fixed
Fix Version/s: 1.4
Assignee: Shalin Shekhar Mangar
Committed revision 733005.
Thanks Jayson!
> Solr can throw an exception on distributed search due to bad if statement in FacetComponent.java:99
> ---------------------------------------------------------------------------------------------------
>
> Key: SOLR-950
> URL: https://issues.apache.org/jira/browse/SOLR-950
> Project: Solr
> Issue Type: Bug
> Components: search
> Affects Versions: 1.3.1
> Reporter: Jayson Minard
> Assignee: Shalin Shekhar Mangar
> Priority: Critical
> Fix For: 1.4
>
>
> When issuing a distributed request, the aggregator node caused an exception due to the following code at line 99 in FacetComponent.java
> {code}
> if (refList == null | refList.size()==0) continue;
> {code}
> (!) note the single pipe for a bitwise OR rather than boolean OR
> Change code to:
> {code}
> if (refList == null || refList.size() == 0) continue;
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.