Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Cluster update settings API #8351

Open
Kargo opened this issue Sep 17, 2024 · 0 comments
Open

Add support for Cluster update settings API #8351

Kargo opened this issue Sep 17, 2024 · 0 comments

Comments

@Kargo
Copy link

Kargo commented Sep 17, 2024

Is your feature request related to a problem? Please describe.
I cannot complete my migration from NEST to Elastic.Clients.Elasticsearch because the Cluster update settings API is missing from the new client.

The following snippet is valid using NEST 7.17.5:

var settingsResponse = await _client.Cluster.PutSettingsAsync(
    descriptor => descriptor.Persistent(
        settings => settings.Add(
            "action.auto_create_index",
            value: false)));

Describe the solution you'd like
A cluster put settings method is available on the Elastic.Clients.Elasticsearch client with comparable syntax to the existing method from the NEST client.

Describe alternatives you've considered

  • Keep using NEST client until Cluster update settings API is supported
  • Implement custom client specifically to handle cluster setting updates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant