lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sameer Maggon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-5940) Make post.jar report back detailed error in case of 400 responses
Date Wed, 11 Jun 2014 18:28:03 GMT

    [ https://issues.apache.org/jira/browse/SOLR-5940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14028164#comment-14028164
] 

Sameer Maggon commented on SOLR-5940:
-------------------------------------

Awesome! Thanks guys!

> Make post.jar report back detailed error in case of 400 responses
> -----------------------------------------------------------------
>
>                 Key: SOLR-5940
>                 URL: https://issues.apache.org/jira/browse/SOLR-5940
>             Project: Solr
>          Issue Type: Improvement
>          Components: scripts and tools
>    Affects Versions: 4.7
>            Reporter: Sameer Maggon
>            Assignee: Uwe Schindler
>             Fix For: 4.9, 5.0
>
>         Attachments: solr-5940.patch, solr-5940.patch, solr-5940.patch, solr-5940.patch,
solr-5940.patch
>
>
> Currently post.jar does not print detailed error message that is encountered during indexing.
In certain use cases, it's helpful to see the error message so that clients can take appropriate
actions.
> In 4.7, here's what gets shown if there is an error during indexing:
> SimplePostTool: WARNING: Solr returned an error #400 Bad Request
> SimplePostTool: WARNING: IOException while reading response: java.io.IOException: Server
returned HTTP response code: 400 for URL: http://localhost:8983/solr/update
> It would be helpful to print out the "msg" that is returned from Solr.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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


Mime
View raw message