全文搜索elasticsearch使用python manage.py rebuild_index报异常
elasticsearch.exceptions.ConnectionError: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7f1f01ffd2b0>: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7f1f01ffd2b0>: Failed to establish a new connection: [Errno 111] Connection refused)
解决方法:docker中的elasiticsearch容器没有开启