Solr
  1. Solr
  2. SOLR-268

SimplePostTool should show Solr error, not just HTTP code

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.3
    • Component/s: clients - java
    • Labels:
      None

      Description

      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.

      1. post.jar.error.patch
        0.6 kB
        Brian Whitman

        Activity

        Hide
        Brian Whitman added a comment -

        Attaching patch

        Show
        Brian Whitman added a comment - Attaching patch
        Hide
        Hoss Man added a comment -

        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.

        Show
        Hoss Man added a comment - 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.

          People

          • Assignee:
            Unassigned
            Reporter:
            Brian Whitman
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development