Elasticsearch 使用use Hyperf\Elasticsearch\ClientBuilderFactory;$builder = $this->container->get(ClientBuilderFactory::class)->create();$client = $builder->setHosts(['http://127.0.0.1:9200'])->build();$info = $client->info();