Skip to content

Nest.IndicesStats should contain shard_stats reported by GET /index/_stats #6079

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

Closed
vkras opened this issue Jan 20, 2022 · 3 comments
Closed

Comments

@vkras
Copy link

vkras commented Jan 20, 2022

Is your feature request related to a problem? Please describe.
GET /index/_stats returns shard_stats with total_count property for indices. But C# method ElasticClient.Indices.Stats(index) returns Nest.IndicesStats class where the shard_stats is not mapped.

Describe the solution you'd like
Map shard_stats API returns to C# object.

Describe alternatives you've considered
I have to made a second call to get this information from index settings (it's not ideal).

@vkras vkras added the Feature label Jan 20, 2022
@stevejgordon
Copy link
Contributor

Apologies for the delay @vkras. I'll take a look at this.

@stevejgordon stevejgordon added bug and removed Feature labels Jan 31, 2022
@stevejgordon
Copy link
Contributor

Added in 7.15, so re-labelling this as a feature we will add.

@stevejgordon
Copy link
Contributor

@vkras I've added this for the next release. Thanks for raising it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants