Spring Data Elasticsearch custom converters
It happens quite often to have Elasticsearch fields with a small number of possible values so it is natural to model these as enums.
Spring Data maps enum by default using the enum name and it gets a bit complicated when we want to map these values ...
marius-barbulescu.hashnode.dev2 min read