Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-3530

better error messages / Content-Type validation in solrJ

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.6, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      spin off from SOLR-3258, it would be helpful if SolrJ, when encountering Exceptions from the ResponseParser (or perhaps before ever even handing data to the ResponseParser) did some validation of the Content-Type returned by the remote server to give better error messages in cases where miss configuration has the wrong matchup between ResponseParser and mime-type (or worse: an HTML page being returned by a non-solr server)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                markrmiller@gmail.com Mark Miller
                Reporter:
                hossman Hoss Man
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: