You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of the problem including expected versus actual behavior:
One of the 7 enum values is missing. It causes a crash on deserialization of the response for a template or index definition:
var response = _elasticClient.Indices.GetTemplate(name);
FailureReason: Unrecoverable/Unexpected BadResponse while attempting GET on https://192.168.xx.xx:9200/_template/dev
System.ArgumentException: Requested value 'with_positions_payloads' was not found.
Steps to reproduce:
Create a template or index with one of the fields set to
"field": {
"analyzer": "whitespace_apostrophe_delimited",
"term_vector": "with_positions_payloads",
"type": "text"
},
Try to get mapping via Indices.GetTemplate(name)
Expected behavior
No exceptions, response is correctly processed