Skip to content

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

@vkras

Description

@vkras

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions