Skip to content

Conversation

@flobernd
Copy link
Member

@flobernd flobernd commented Aug 12, 2024

CustomAnalyzer is used in the IndexSettings structure for which the server flattens single-element-arrays to the element itself.

This PR fixes deserialization of CustomAnalyzer when e.g. requested by the GetIndexSettings API.

Note: There are more analyzer types with array fields that probably must be adjusted.

Closes: elastic/elasticsearch-net#8291

@flobernd flobernd assigned l-trotta and unassigned l-trotta Aug 12, 2024
@flobernd flobernd requested review from a team and l-trotta August 12, 2024 10:31
@flobernd flobernd merged commit 0868517 into main Aug 13, 2024
@flobernd flobernd deleted the fix-custom-analyzer branch August 13, 2024 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Elastic.Transport.UnexpectedTransportException with Indices.GetAsync

4 participants