You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2017/09/04 20:09:02 UTC

[jira] [Assigned] (SOLR-11322) Omit min/max aggregations when there are no values in a bucket

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

Yonik Seeley reassigned SOLR-11322:
-----------------------------------

    Assignee: Yonik Seeley

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