Re: Exception in SolrResponseBase.getQTime

2015-09-16 Thread Shalin Shekhar Mangar
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 wrote: > Hi, > > I need a bit of your help as we recently encountering an issue related to >

Re: Exception in SolrResponseBase.getQTime

2015-09-16 Thread Gauri Shankar
Thanks much Shalin for this. I will take a look into this one. Btw, I am using SolrCloud 4.7.0. Thanks again. Gauri On Sep 16, 2015 12:44 PM, "Shalin Shekhar Mangar" wrote: > Okay, I found the problem, see > https://issues.apache.org/jira/browse/SOLR-6547 > > I have

Re: Exception in SolrResponseBase.getQTime

2015-09-16 Thread Shalin Shekhar Mangar
Okay, I found the problem, see https://issues.apache.org/jira/browse/SOLR-6547 I have committed a fix which should be released with Solr 5.4. In the mean while, if you need access to the qtime for such responses, instead of using response.getQTime() do the following: int qtime = -1; NamedList

Exception in SolrResponseBase.getQTime

2015-09-15 Thread Gauri Shankar
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)