Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
7.6, 7.7, 7.7.1
-
None
-
None
Description
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.
Attachments
Attachments
Issue Links
- is duplicated by
-
SOLR-13318 JsonFacetingResponse classes should record provide access to count fields as longs
- Resolved