I am new to solr and trying to integrate solr to my php project through
solarium.
Solarium library version: 3.2.0 
Solr version : 6.3.0

On trying to ping solr I am getting 'Solarium\Exception\HttpException: Solr
HTTP error: OK (500)
{"error":{"metadata":["error-class","org.apache.solr.common.SolrException","root-error-class","org.apache.solr.common.SolrException"],"msg":"Ping
query caused exception: Bad contentType for search handler :text/xml;
charset=UTF-8
request={q={!lucene}*:*&json.nl=flat&omitHeader=true&wt=json&echoParams=all&distrib=false}","trace":"org.apache.solr.common.SolrException:
Ping query caused exception: Bad contentType for search handler :text/xml;
charset=UTF-8
request={q={!lucene}*:*&json.nl=flat&omitHeader=true&wt=json&echoParams=all&distrib=false}\r\n\tat
'

I started by creating a solr core and didn't do any modifications in the
core. Is there anything that's missed during my implementation?





--
View this message in context: 
http://lucene.472066.n3.nabble.com/org-apache-solr-common-SolrException-Bad-contentType-for-search-handler-text-xml-charset-UTF-8-reque-tp4307494.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to