转载自:https://elasticstack.blog.csdn.net/article/details/104982536
官方链接地址:https://www.elastic.co/guide/en/shield/current/_using_elasticsearch_http_rest_clients_with_shield.html