Hi, we changed our elasticsearch from RestHighLevelClient to ElasticsearchClient, our document can have empty values, but in new Elasticsearch Java API Client it is throwing error saying:
org.springframework.data.elasticsearch.core.convert.ConversionException: Unable to convert value '' to java.time.LocalDate for property 'dataSconfino'
I tried to add @JsonInclude(JsonInclude.Include.NON_EMPTY)
but it didn't help,
how we can set some fields as optional, so that they can be also empty in elasticsearch java api client?