easyswoole/elasticsearch

There is no license information available for the latest version (1.0.6) of this package.

Installs: 17 085

Dependents: 0

Suggesters: 0

Security: 0

Stars: 13

Watchers: 0

Forks: 8

Open Issues: 3

pkg:composer/easyswoole/elasticsearch

1.0.6 2024-10-28 03:55 UTC

This package is auto-updated.

Last update: 2025-09-28 09:48:46 UTC


README

Elasticsearch client,对官方客户端的协程化移植

单元测试

php vendor/bin/co-phpunit tests

单元测试前请修改项目根目录下phpunit.php内的配置项

官方Docker

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