elastic / elasticsearch-php

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

includePortInHostHeader not usable via fromConfig #1176

Closed huanes closed 2 years ago

huanes commented 2 years ago

Summary of problem or feature request

The ClientBuilder includePortInHostHeader() method is not accessible when using fromConfig() as only set-prefixed methods are applicable in fromConfig.

As I am using a wrapper package for Laravel Scout that uses the fromConfig method, I can't initiate the Client myself so it's a bit of an issue.

ezimuel commented 2 years ago

@huanes I sent a new PR ( #1181 ) for fixing the issue.

ezimuel commented 2 years ago

Fixed in #1181