Hello, Sylvain Wallez,
This is to follow up [JAVA] Unexpected JSON event 'VALUE_TRUE' instead of '[KEY_NAME, VALUE_STRING]' - #12 by swallez which was already closed.
Per Serialize DynamicMapping values as booleans instead of string · Issue #139 · elastic/elasticsearch-java · GitHub, the issue should be fixed in 7.17.1
I recently got a chance to upgrade Elasticsearch from 7.16.3 to 7.17.3. However I am still seeing this error message following the steps described in the original link.
Caused by: co.elastic.clients.json.JsonpMappingException: Error deserializing co.elastic.clients.elasticsearch._types.mapping.TypeMapping: co.elastic.clients.json.UnexpectedJsonEventException: Unexpected JSON event 'VALUE_TRUE' instead of '[KEY_NAME, VALUE_STRING]' (JSON path: index_templates.index_template.template.mappings.dynamic) (line no=1, column no=396, offset=-1)
Can you confirm this is fixed in the version 7.17.3?