Elasticsearch client,对官方客户端的协程化移植
php vendor/bin/co-phpunit tests
单元测试前请修改项目根目录下phpunit.php内的配置项
docker pull elasticsearch:7.10.1
docker run -d --name elasticsearch -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" elasticsearch:7.10.1
https://github.com/elastic/elasticsearch-php/blob/master/src/Elasticsearch/Client.php
https://github.com/elastic/elasticsearch-php/blob/master/src/Elasticsearch/ClientBuilder.php