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

better error messages / Content-Type validation in solrJ

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.6, 6.0
    • None
    • 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

              markrmiller@gmail.com Mark Miller
              hossman Chris M. Hostetter
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: