我在 solr 5.3 中使用 haystack 为我的 django 应用程序创建了一个核心并尝试这样做python manage.py rebuild_index
,它只是给出了这个错误消息。这部分/update/?commit=true
对我来说看起来很奇怪。我尝试手动将其更改为/update?commit=true
,但仍然无法正常工作。在浏览器中,它只是说 404。有人对此有任何想法吗?谢谢!
无法清除 Solr 索引:无法连接到位于“ http://localhost:8983/solr/#/my_core/update/?commit=true ”的服务器,您确定 URL 正确吗?在浏览器中检查它可能会有所帮助: HTTPConnectionPool(host='localhost', port=8983): Max retries exceeded with url: /solr/ (Caused by : [Errno 111] Connection denied)