我的資料庫是 postgreSQL,我正在使用 django_elasticsearch_dsl 將 django 與 elasticsearch 連接起來。
出于某種原因,當我運行命令時:
python manage.py search_index --rebuild
我收到此錯誤訊息:
NewConnectionError(<urllib3.connection.HTTPConnection object at 0x058AEE38>: Failed to establish a new connection: [WinError 10061] No connection could be made because the
target machine actively refused it)
這是我第一次使用 elasticsearch,所以我真的不知道為什么我會收到錯誤。
任何人都知道如何解決它?
uj5u.com熱心網友回復:
問題出在安裝彈性搜索上,我所需要的只是在我的電腦上重新安裝它
轉載請註明出處,本文鏈接:https://www.uj5u.com/qianduan/416987.html
標籤:
