Much of the merging / client code in Solr (not just the JSON Facets)
uses things like
((Number)count).longValue()
to handle either int or long values.
-Yonik
On Tue, Mar 22, 2016 at 4:46 AM, Markus Jelsma
wrote:
> Hello,
>
> Using SolrJ i built a method that consumes output produced by JSON fac
rg>; solr-
u...@lucene.apache.org
> Subject: Re: JSON facets, count a long or an integer in cloud and non-
cloud modes
>
> I have the same problem with a custom response writer.
>
> In production works but in my dev doesn't and are the same version 5.3.1
>
I'm now using instanceof as ugly work around but i'd prefer a decent solution.
M
-Original message-
> From:Yago Riveiro
> Sent: Tuesday 22nd March 2016 9:52
> To: solr-user ; solr-user@lucene.apache.org
> Subject: Re: JSON facets, count a long or an integer
I have the same problem with a custom response writer.
In production works but in my dev doesn't and are the same version 5.3.1
--
Yago Riveiro
On 22 Mar 2016 08:47 +, Markus Jelsma, wrote:
> Hello,
>
> Using SolrJ i built a method that consumes output produced by JSON facets, it
> also ch