[
https://issues.apache.org/jira/browse/SOLR-13417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16939881#comment-16939881
]
ASF subversion and git services commented on SOLR-13417:
--------------------------------------------------------
Commit e5d95011f06ba6a1daa986e95762cbcfc79d8f98 in lucene-solr's branch
refs/heads/master from Munendra S N
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=e5d9501 ]
SOLR-13417: handle stats on date/str fields in solrj's JSON facet resp
* Except for min/max aggregation in all other cases values woudl be
number. As for same data/string field, value can vary based on
aggregation used, capture response in Map<String, Object>
> 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
> Components: SolrJ
> Affects Versions: 7.7, 8.0, master (9.0)
> Reporter: Jason Gerlowski
> Assignee: Munendra S N
> Priority: Minor
> Attachments: SOLR-13417.patch
>
>
> 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
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]