Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
(NOTE: I noticed this while working on a test for type: range but it's possible other facet types may be affected as well)
When dealing with a single core request – either standalone or a collection with only one shard – json.facet seems to use "Integer" objects to return the "count" of facet buckets, however if the shard count is increased then the end client gets a "Long" object for the "count"
(This isn't noticable when using wt=json but can be very problematic when trying to write client code using wt=xml or SolrJ
Attachments
Attachments
Issue Links
- causes
-
SOLR-13318 JsonFacetingResponse classes should record provide access to count fields as longs
- Resolved
- is related to
-
SOLR-14012 Different data type for unique aggregation and countDistinct
- Closed