[ 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org