You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2015/07/29 19:36:05 UTC
[jira] [Reopened] (SOLR-7845) sum should treat NULL as 0
[ https://issues.apache.org/jira/browse/SOLR-7845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hoss Man reopened SOLR-7845:
----------------------------
Ah ... ok, yes -- definitely something weird goingon with the 2 arg query() func. I'll revise the summary & description
> sum should treat NULL as 0
> --------------------------
>
> Key: SOLR-7845
> URL: https://issues.apache.org/jira/browse/SOLR-7845
> Project: Solr
> Issue Type: Bug
> Reporter: Bill Bell
>
> sum(0,query()) used to treat the NULL values in query as 0. It stopped working in SOLR 5.
> Do we want to fix this?
> {noformat}
> http://localhost:8983/solr/select?hqval1=pwid:2&q=*:*&fl=pwid,$y&y=sum(0,query({!lucene%20v=$hqval1}))
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org