![](/img/trans.png)
[英]Unable to create index file using solr and haystack and django in windows
[英]django haystack solr: index file not being created
solr无法创建索引,出现以下错误:
All documents removed.
Indexing 100 notes.
Failed to add documents to Solr: [Reason: None]
<html><head><meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"/>
<title>Error 404 NOT_FOUND</title></head><body><h2>HTTP ERROR 404</h2>
<p>Problem accessing /solr/boatsite/update/. Reason:<pre> NOT_FOUND</pre></p>
<hr /><i><small>Powered by Jetty://</small></i>
有什么建议么?
答案是在Beta 2.0.0文档中进行故障排除。 在settings.py中使用错误的URL进行HAYSTACK连接。 如果您收到此错误,文档会在浏览器中建议测试网址。 我正在尝试http://127.0.0.1:8983/solr/mysite-应该使用http://127.0.0.1:8983/solr
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.