Closed ezimuel closed 2 years ago
@technige the PHP test are failing because we a license issue running Elasticsearch using elastic/elastic-github-actions/elasticsearch@master
. The CI tests are ok.
@ezimuel Shouldn't this be optional, having a flag to control it?
We are currently trying to use client v.8 with server v.7. I understand the compatibility header is for the other way around (working with server v.8 and client v.7) but I see requests are working okay in our setup without compatibility headers added.
This PR adds the API compatibility header in client v8. This should solve issue https://github.com/elastic/elasticsearch-php/issues/1221