Description
Elastic.Clients.Elasticsearch version:
8.0.0-rc.2
Elasticsearch version:
8.x.x
.NET runtime version:
6.0
Operating system version:
Windows 11
Description of the problem including expected versus actual behavior:
According to the list of supported API's the Indices.GetAlias is supported in the current version. But no data is accessible in the response (AliasResponse), only whether the response is valid (IsValidResponse) along with Error, Warnings, DebugInformation and API Call Details.
As i read the specifications a dictionary should be available:
body: Dictionary<IndexName, IndexAliases>
Which matches the data returned from a direct HTTP request to the API endpoint.
If i look into the AliasResponse through debugging there is a non-accessible BackingDictionary that holds the values of the response, but as this is not accessible it is not of much help.
So for now this method is not of much use other than checking for existence, which already has its own API.
Steps to reproduce:
- Make a call to ES 8 using esClient.Indices.GetAliasAsync()
- Inspect the returned AliasResponse, it has no accessible Dictionary<IndexName, IndexAliases>
Expected behavior
Response should contain an accessible dictionary of IndexName, IndexAliases