Magnus Ebbesson created SOLR-4355:
-------------------------------------

             Summary: SolrException & SolrServerException message should retun 
root cause
                 Key: SOLR-4355
                 URL: https://issues.apache.org/jira/browse/SOLR-4355
             Project: Solr
          Issue Type: Improvement
          Components: clients - java
    Affects Versions: 4.1, 4.0
            Reporter: Magnus Ebbesson


A mall/illformed SolrQuery will raise a SolrException when executed on 
SolrServer.query(...). 

The only message retreivable from this exception is that 
"org.apache.solr.common.SolrException: Server at http://servername/solr/core0 
returned non ok status:500, message:Internal Server Error" 

Using the same query and posting in a web browser directly against Solr I'm 
presented with the proper root cause. 

It would be very much appreciated if the Search client itself would be able to 
return the same message. 


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to