Off the cuff, it sounds like you are making a POST request to the 
SearchHandler (ie: /search or /query) and the Content-TYpe you are sending 
is "text/xml; charset=UTF-8"

In the past SearchHandler might have ignored that Content-Type, but now 
that structured queries can be sent as POST data, it's trying to parse the 
POST body and it can't make sense of your XML data.

As erick said: with out more details on what your client code looks like 
it's hard to give you additional advice -- the first big question you wnat 
to ask yourself though, is *why*, in SOlr 5.0, you were POSTing XML data 
to Solr -- what was the purpose of that POSTed XML data?



: Date: Thu, 16 Apr 2015 22:57:30 -0700 (MST)
: From: Pavel Hladik <pavel.hla...@profimedia.cz>
: Reply-To: solr-user@lucene.apache.org
: To: solr-user@lucene.apache.org
: Subject: Bad contentType for search handler :text/xml; charset=UTF-8
: 
: Hi,
: 
: we have migrated Solr from 5.0 do 5.1 and we can't search now, we have a
: ERROR for SolrCore like in subject. I can't get any info through Google.
: 
: Please, can someone help what is going on?
: 
: Thanks,
: 
: Pavel
: 
: 
: 
: --
: View this message in context: 
http://lucene.472066.n3.nabble.com/Bad-contentType-for-search-handler-text-xml-charset-UTF-8-tp4200314.html
: Sent from the Solr - User mailing list archive at Nabble.com.
: 

-Hoss
http://www.lucidworks.com/

Reply via email to