Spring Boot(2.2.X) - Spring Elastic Search(6.8.X) - Different JSONProperty and Field Name
问题 Updated Spring boot to 2.2.X from 2.1.X and elastic search to 6.8.X from 6.3.X . Got mapping exception, to resolve Mapping exception, renamed document variable to myDocument. Now on elasticSearchRepo.SaveAll(objectTosave) value is not persisted in document. Other properties like id, category are present in the document. Is there any way to have different fieldName and jsonProperty? import org.springframework.data.elasticsearch.annotations.Document; import org.springframework.data