spring-data-elastic Id field not populated on reads when using CustomEntityMapper
问题 Elasticversion - 1.7.6 springboot - 1.3.5 Using spring-data-elasticsearch I have created a custom JSON mapping as advised elsewhere in order to support Java8 new datetime fields. This works fine - but breaks reading entities from the repository as the id field no longer gets populated. CustomConfig: @Bean @Autowired public ElasticsearchTemplate elasticsearchTemplate(Client client) { ObjectMapper objectMapper = new ObjectMapper(); objectMapper.registerModule(new JavaTimeModule()); return new