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

No response class implementation for Get index settings #8115

Open
RolfDeVries opened this issue Apr 10, 2024 · 0 comments
Open

No response class implementation for Get index settings #8115

RolfDeVries opened this issue Apr 10, 2024 · 0 comments
Labels
8.x Relates to 8.x client version Category: Bug

Comments

@RolfDeVries
Copy link

Elastic.Clients.Elasticsearch version:
8.13.5

Elasticsearch version:
N/A

.NET runtime version:
.Net 8.0

Operating system version:
N/A

Description of the problem including expected versus actual behavior:
I'm upgrading from NEST 7.latest to the new Elastic.Clients.Elasticsearch version.
And I'm missing some features that are not yet supported

Steps to reproduce:

  1. Create code to call the Get index settings API

var result = await Client.Indices.GetSettingsAsync(s => s
.Indices(indexName)
.Name("index.analysis.filter." + filterName + ".*")
);

  1. Trying to parse the response to get a specific setting:

var indexState = result?.Indices?[indexName];

Expected behavior
In the NEST 7 version, this was easily done
In the Elastic.Client.Elasticsearch 8 it seams that all .net properties are protected and not accesable
Please make sure that this code is backwards compatible with minor effort

Provide ConnectionSettings (if relevant):

Provide DebugInformation (if relevant):

@RolfDeVries RolfDeVries added 8.x Relates to 8.x client version Category: Bug labels Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.x Relates to 8.x client version Category: Bug
Projects
None yet
Development

No branches or pull requests

1 participant