Hi Gauri,

Can you give more details on when this happens? Which Solr version?
Also, can you please post the full stack trace?

On Tue, Sep 15, 2015 at 9:19 PM, Gauri Shankar <gshankar.s...@gmail.com> wrote:
> Hi,
>
> I need a bit of your help as we recently encountering an issue related to
> "QTime" in solr response via solrj client.
>
> java.lang.ClassCastException: java.lang.Long cannot be cast to
> java.lang.Integer
>  at
> org.apache.solr.client.solrj.response.SolrResponseBase.getQTime(SolrResponseBase.java:76)
>  at
> .....
> .....
>
> I was exploring the source in -- org.apache.solr.core.SolrCore and there I
> see that QTime is added as int only.
>
> Other interesting observation is -- this is happening in one collection and
> not happening in another collection while adding document to index.
> Document are being added to both collection in similar way and they do have
> the similar solrconfig...exactly same.
>
> Could you please help me out on this?
>
> --
> Regards,
> Gauri Shankar



-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to