Skip to content

hello,I want to know how can I train the flashcards-idx file #3

Open
@ynuwm

Description

@ynuwm

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions