Yonik Seeley created SOLR-11322:
-----------------------------------
Summary: 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
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]