You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Brian Whitman (JIRA)" <ji...@apache.org> on 2007/06/21 17:12:29 UTC

[jira] Created: (SOLR-268) SimplePostTool should show Solr error, not just HTTP code

SimplePostTool should show Solr error, not just HTTP code
---------------------------------------------------------

                 Key: SOLR-268
                 URL: https://issues.apache.org/jira/browse/SOLR-268
             Project: Solr
          Issue Type: Bug
          Components: clients - java
    Affects Versions: 1.3
            Reporter: Brian Whitman
            Priority: Trivial
             Fix For: 1.3


Tiny fix to have post.jar show the solr error message, not just a fatal error when it gets a 400 HTTP code. There is probably a better way to do this but this is how I did it.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SOLR-268) SimplePostTool should show Solr error, not just HTTP code

Posted by "Brian Whitman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Whitman updated SOLR-268:
-------------------------------

    Attachment: post.jar.error.patch

Attaching patch

> SimplePostTool should show Solr error, not just HTTP code
> ---------------------------------------------------------
>
>                 Key: SOLR-268
>                 URL: https://issues.apache.org/jira/browse/SOLR-268
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java
>    Affects Versions: 1.3
>            Reporter: Brian Whitman
>            Priority: Trivial
>             Fix For: 1.3
>
>         Attachments: post.jar.error.patch
>
>
> Tiny fix to have post.jar show the solr error message, not just a fatal error when it gets a 400 HTTP code. There is probably a better way to do this but this is how I did it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SOLR-268) SimplePostTool should show Solr error, not just HTTP code

Posted by "Hoss Man (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hoss Man resolved SOLR-268.
---------------------------

    Resolution: Fixed

looks fine to me ... i tweaked it so it's fatal instead of a warning and left the old fatal message in (if it makes it to that point the error was probably related to getting a connection in the first place, and the reminder that solr needs to be running is handy)


Committed revision 550010.


> SimplePostTool should show Solr error, not just HTTP code
> ---------------------------------------------------------
>
>                 Key: SOLR-268
>                 URL: https://issues.apache.org/jira/browse/SOLR-268
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java
>    Affects Versions: 1.3
>            Reporter: Brian Whitman
>            Priority: Trivial
>             Fix For: 1.3
>
>         Attachments: post.jar.error.patch
>
>
> Tiny fix to have post.jar show the solr error message, not just a fatal error when it gets a 400 HTTP code. There is probably a better way to do this but this is how I did it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.