This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
Configuration
editConfiguration
editConnecting to Elasticsearch with the client is easy, but it’s possible that you’d like to
change the default connection behaviour. There are a number of configuration
options available on ElasticsearchClientSettings
that can be used to control how the
client interact with Elasticsearch.