spring-data-elasticsearch and update
问题 i'm using spring-data-elasticsearch to do CRUD operations. I have a custom Repository that extends ElasticsearchRepository. Ultimately ElasticsearchRepository extends CrudRepository which implies updating an existing record is possible. The question is, how do you accomplish this? I haven't found a method called "update()" I thought doing the following would work (code stolen from https://github.com/BioMedCentralLtd/spring-data-elasticsearch-sample-application) //create Book book = new Book()