Open
Description
when I run the script es-load-flashcards.py get this error:
ConnectionError: ConnectionError(<urllib3.connection.HTTPConnection object at 0x000001974503DC50>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x000001974503DC50>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。)
can you give me the flashcards-idx you have trained. Or can you give me some suggestions about how should I set the host and port in code:
python es = elasticsearch.Elasticsearch(hosts=[{ "host": "localhost", "port": "9200" }])
Metadata
Metadata
Assignees
Labels
No labels