Hello, It might be different between SolrCloud and standalone mode. No data enough to make a conclusion.
On Mon, Jan 27, 2020 at 5:40 PM Rudenko, Artur <artur.rude...@verint.com> wrote: > I'm trying to parse facet response, but sometimes the count returns as > Long type and sometimes as Integer type(on different environments), The > error is: > "java.lang.ClassCastException: java.lang.Integer cannot be cast to > java.lang.Long" > > Can you please explain why this happenes? Why it not consistent? > > I know the workaround to use Number class and longValue method but I want > to to the root cause before using this workaround > > Artur Rudenko > > > > This electronic message may contain proprietary and confidential > information of Verint Systems Inc., its affiliates and/or subsidiaries. The > information is intended to be for the use of the individual(s) or > entity(ies) named above. If you are not the intended recipient (or > authorized to receive this e-mail for the intended recipient), you may not > use, copy, disclose or distribute to anyone this message or any information > contained in this message. If you have received this electronic message in > error, please notify us by replying to this e-mail. > -- Sincerely yours Mikhail Khludnev