good point! that's an enhancement we would definitely welcome as well. currently, we too have to remote desktop to the Sol machine and search through the logs..
Any thoughts? Cheers, -- Savvas On 11 January 2011 19:59, roz dev <rozde...@gmail.com> wrote: > Hi All > > We are using SolrJ client (v 1.4.1) to integrate with our solr search > server. > We notice that whenever SolrJ request does not match with Solr schema, we > get Bad Request exception which makes sense. > > org.apache.solr.common.SolrException: Bad Request > > But, SolrJ Client does not provide any clue about the reason request is > Bad. > > Is there any way to get the root cause on client side? > > Of Course, solr server logs have enough info to know that data is bad but > it > would be great > to have the same info in the exception generated by SolrJ. > > Any thoughts? Is there any plan to add this in future releases? > > Thanks, > Saroj >