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
I had to change the dependencies and imports. Some adjustments where methods that have been renamed (or better the old ones had been deprecated). So far this works, BUT:
I hand a customized ObjectMapper into the JacksonJsonpMapper that is passed into the RestClient from Elasticsearch (the one ES uses by default discards null values, but sending null values to ES is a valid use case). And the JacksonJsonpMapper of course expect a com.fasterxml.jackson.databind.ObjectMapper.
I will need some more investigation how to address that.
ok, as Jackson changed the coordinates and package names, it is possible to use a version 2 ObjectMapper for the Elasticsearch client and version 3 for Spring Data Elasticsearch.
Not sure if this is a good idea, and what consequences this might have for users.
https://github.com/FasterXML/jackson/wiki/Jackson-Release-3.0
Related to: spring-projects/spring-data-commons#3292
Due to the amount of breaking changes the upgrade will have a broader impact.
The text was updated successfully, but these errors were encountered: