How to disconnect from elicsearch-py client / connection pool

What is the correct way to disable elasticsearch-py (python) client interface. close an existing connection pool? I can not find any information in the documents.

+7
python elasticsearch pyelasticsearch
source share
1 answer

For completeness only, related thread in the comments to the question.

There is currently no way to close connections or the client itself, in part because you are the first to ask for it, we simply rely on the garbage collector to close the socket when it clears the client.

0
source share

All Articles