You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Magnus Ebbesson (JIRA)" <ji...@apache.org> on 2013/01/25 08:45:12 UTC

[jira] [Created] (SOLR-4355) SolrException & SolrServerException message should retun root cause

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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org