Skip to content

GetSettings doesn't publicly expose the result #8352

Closed
@braveyp

Description

@braveyp

Elastic.Clients.Elasticsearch version: 8.15.6

Elasticsearch version: 8.15.0

.NET runtime version: 4.8

Operating system version: Windows 11

Description of the problem including expected versus actual behavior:

GetIndicesSettingsReponse puts the settings into a protected dictionary but doesn't provide a public method to actually access those settings.

Steps to reproduce:

  1. var response = await Client.Indices.GetSettingsAsync(s => s.Indices(indexName));
  2. ???

Expected behavior
I would expect a call to get the settings for an index would return the settings, ideally in a typed IndexSettings object.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions