[ 
https://issues.apache.org/jira/browse/SOLR-11317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yonik Seeley resolved SOLR-11317.
---------------------------------
    Resolution: Fixed

OK, I patched FacetStream to be able to handle Int/Long returns and not just 
double for metrics.  If a long is expected, this change also avoids an 
intermediate double, which would have resulted in rounding.

> Typed numeric support for min/max aggregations
> ----------------------------------------------
>
>                 Key: SOLR-11317
>                 URL: https://issues.apache.org/jira/browse/SOLR-11317
>             Project: Solr
>          Issue Type: New Feature
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Facet Module
>            Reporter: Yonik Seeley
>            Assignee: Yonik Seeley
>             Fix For: 7.1
>
>         Attachments: SOLR-11317.patch
>
>
> min/max aggregations treat all numeric values / functions as doubles.
> Functions do not yet have types, but int/long/float fields do.  This has the 
> most impact on long fields, since the full range of values cannot be 
> represented in a double without loss of precision.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to