Re: SolrJ cannot get actual cause of error

2018-09-30 Thread Shawn Heisey
On 9/29/2018 3:08 AM, Ryan Qin wrote: I’m working on a project which uses solr as search engine. I found I cannot get the root cause of error from SolrJ. CloudSolrClient uses LBHttpSolrClient internally.  This client has a tendency to wrap all exceptions in the "No live SolrServers" message. 

Re: SolrJ cannot get actual cause of error

2018-09-29 Thread Alexandre Rafalovitch
If you can still see the same behavior in 7.5 (some things were rewritten), this could be a reasonable enhancement Jira with suggested patch attached. Regards, Alex. On Sat, 29 Sep 2018 at 07:25, Ryan Qin wrote: > Hi there, > > > > I’m working on a project which uses solr as search engine. I

SolrJ cannot get actual cause of error

2018-09-29 Thread Ryan Qin
Hi there, I'm working on a project which uses solr as search engine. I found I cannot get the root cause of error from SolrJ. Case 1 I try to create a field with wrong field type Map fieldd = new LinkedHashMap(); fieldd.put("name", "e"); fieldd.put("type", "srting");