Elasticsearch dies after too many queries from Python library -


i upgraded elasticsearch instance 1 5, , upgraded python libraries (elasticsearch , elasticsearch-dsl) 1 5 well.

i have script create index , populate creating documents relational database. index created, , documents added index, after couple of thousand of documents added, start these messages , elasticsearch instance goes down.

connectionerror(httpconnectionpool(host='docker_es_instance', port=9200): max retries exceeded url: /items/sporting_goods/2378/_create (caused newconnectionerror(': failed establish new connection: [errno 111] connection refused',)))

i assume there many open connections, , dosing elasticsearch instance, having trouble figuring out solution.

you might want use bulk helper python library. should faster, , solve error.


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -