You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jason Gerlowski (JIRA)" <ji...@apache.org> on 2019/04/22 13:33:00 UTC

[jira] [Created] (SOLR-13417) SolrJ's JsonFacetingResponse mishandles stat-facets on date fields

Jason Gerlowski created SOLR-13417:
--------------------------------------

             Summary: SolrJ's JsonFacetingResponse mishandles stat-facets on date fields
                 Key: SOLR-13417
                 URL: https://issues.apache.org/jira/browse/SOLR-13417
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: SolrJ
    Affects Versions: 8.0, 7.7, master (9.0)
            Reporter: Jason Gerlowski


SolrJ has some classes which simplify access to JSON Faceting responses.  These classes parse the response and maintain a Map of facet names to their values.  Currently, this section has a bug where it only records stat facets in this Map if the facet value is a {{Number}}.  (When writing this code, I mistakenly assumed that stat functions could be used on date fields).

We should fix JsonFacetingResponse so that it handles date-based facets correctly.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org