Yes I’ve confirmed both lines you’re asking about are there as you typed (type=long not integer). I updated the index’s schema.xml file manually with the one you referenced above and that fixed the issue. Hopefully that should resolve this ticket for my needs. I’m not sure why the creation of the index through the plugin didn’t set the correct schema.xml though.
I’m having the exact same issue. I’ve tried with Solr 9, 8, 7 and 6 without any success. Can you please help?
Solr HTTP error: Bad Request (400) { "responseHeader":{ "status":400, "QTime":0}, "error":{ "metadata":[ "error-class","org.apache.solr.common.SolrException", "root-error-class","org.apache.solr.common.SolrException"], "msg":"ERROR: [doc=ate_category_4] unknown field 'PID'", "code":400}}
It seems that your current Solr index’s schema.xml file is not the one delivered by WPSOLR.
You should try to create a new Solr index, with a new name, from WPSOLR, as shown in the video.
You must be logged in to reply to this topic.