Owen Clarke created SOLR-13377:
----------------------------------
Summary: NestableJsonFacet ClassCastException in SolrJ 7.6+
Key: SOLR-13377
URL: https://issues.apache.org/jira/browse/SOLR-13377
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Components: SolrJ
Affects Versions: 7.7.1, 7.7, 7.6
Reporter: Owen Clarke
Identified by Gerald Bonfiglio on the mailing list:
[http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201903.mbox/%3C2B629E99E8E563409788D895FACA8198AA754A96%40mbx031-w1-co-4.exch031.domain.local%3E]
I have also encountered this issue where NestableJsonFacet occasionally
receives the facet count as a Long value but blindly casts to int when
assigning to domainCount, causing a ClassCastExcption. I have a fix to instead
check if the count value is instanceof Number, then use Number.longValue() to
safely unbox to long.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]