相关疑难解决方法(0)

当我尝试为 django 重建索引时,Solr 超时

我第一次尝试使用 ./manage.pyrebuild_index 在 ubuntu 上为 Django 构建 solr 索引,但出现以下错误:

Removing all documents from your index because you said so.
Failed to clear Solr index: Connection to server 'http://localhost:8983/solr/update/?commit=true'                timed out: HTTPConnectionPool(host='localhost', port=8983): Request timed out. (timeout=10)
All documents removed.
Indexing 4 dishess
Failed to add documents to Solr: Connection to server 'http://localhost:8983/solr/update/?commit=true' timed out: HTTPConnectionPool(host='localhost', port=8983): Request timed out. (timeout=10)
Run Code Online (Sandbox Code Playgroud)

我可以通过网络浏览器访问 localhost:8983/solr/ 和 localhost:8983/solr/admin

solr

1
推荐指数
1
解决办法
1300
查看次数

标签 统计

solr ×1