[
https://issues.apache.org/jira/browse/SOLR-11322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16152986#comment-16152986
]
ASF subversion and git services commented on SOLR-11322:
--------------------------------------------------------
Commit c6a5f10fd364a0c63477348560e0c6eb1a742d3e in lucene-solr's branch
refs/heads/master from [[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=c6a5f10 ]
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]