Thanks Jack,

That is exactly the problem.  Apparently earlier versions of Solr ignored
the extra text, which is why we didn't catch the bug in our code earlier.

Thanks for the quick response.

Tom

On Fri, Nov 2, 2012 at 5:34 PM, Jack Krupansky <j...@basetechnology.com>wrote:

> That message makes it sounds as if the literal text "Content-type:" is
> included in your content type. How exactly are you setting/sending the
> content type?
>
> -- Jack Krupansky
>
> -----Original Message----- From: Tom Burton-West
> Sent: Friday, November 02, 2012 5:30 PM
> To: solr-user@lucene.apache.org
> Subject: Solr 4.0 error message: "Unsupported ContentType:
> Content-type:text/xml"
>
> Hello all,
>
> Trying to get Solr 4.0 up and running with a port of our production 3.6
> schema and documents.
>
> We are getting the following error message in the logs:
>
> org.apache.solr.common.**SolrException: Unsupported ContentType:
> Content-type:text/xml  Not in: [app
> lication/xml, text/csv, text/json, application/csv, application/javabin,
> text/xml, application/json]
>
>
> We use exactly the same code without problem with Solr 3.6.
>
>
> We are sending a ContentType 'text/xml'.
>
> Is it likely that there is some other problem and this is just not quite
> the right error message?
>
> Tom
>

Reply via email to