This error usually occurs when the schema.xml file is not configured correctly.
You can use python manage.py build_solr_schema > schema.xmlto create a diagram.
To actually use solr, you usually put it in example/solr/conf/schema.xml
Finally: view the log output of your Solr server. During development, I run it through java -jar start.jar, and it implicitly prints on my screen. Otherwise, your logs will go to the directory example/logs.
Also double check HAYSTACK_SOLR_URL. It should not have a slash.
source
share