elastic / elasticsearch-php

Official PHP client for Elasticsearch.
https://www.elastic.co/guide/en/elasticsearch/client/php-api/current/index.html
MIT License
5.25k stars 963 forks source link

Connecting to Elasticsearch v8.x using the v7.17.x client #1382

Closed marcelopm closed 7 months ago

marcelopm commented 7 months ago

As per docs, this is possible when using ES SDK for .NET

Is it possible to do the same when using SDK for PHP? If so, can you please provide an example?

I had a look at the code but couldn't figure out how to do it. Calling ->setSSLVerification(false) on the client doesn't seem to have any effect.

marcelopm commented 7 months ago

Tested in another project and seems to be working fine out of the box.