[ 
https://issues.apache.org/jira/browse/SOLR-11322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16152988#comment-16152988
 ] 

ASF subversion and git services commented on SOLR-11322:
--------------------------------------------------------

Commit d3212da6e47a7cf7a3829e229e97bc3b0172d3ce in lucene-solr's branch 
refs/heads/branch_7x from [[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=d3212da ]

SOLR-11322: omit val for min/max when no values in field for bucket


> Omit min/max aggregations when there are no values in a bucket
> --------------------------------------------------------------
>
>                 Key: SOLR-11322
>                 URL: https://issues.apache.org/jira/browse/SOLR-11322
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Facet Module
>            Reporter: Yonik Seeley
>            Assignee: Yonik Seeley
>             Fix For: 7.1
>
>
> min/max currently return NaN when there are no values for a bucket.
> This is problematic in JSON format, which has no support for NaN.  It becomes 
> a bigger issue for typed support like long values where NaN doesn't make 
> sense, and even worse for String fields, since 'NaN' is an actual valid 
> string value.  Instead, we should just omit the aggregation value altogether.



--
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