I donโt think there is any other textbook. I started writing one a few days ago. Upon completion, it will be published on elasticsearch.org.
However, I created the ScrutMyDocs web application with the idea that it could be an example of โhow to integrate Elasticsearch into a web applicationโ. The source code is available on Github so you can find a few ideas here.
Also note that this project also uses Spring and my Spring factories for the Elasticsearch project . It can also help you.
About Hibernate, in a previous project, I started adding listeners to entities to automatically index or delete documents in Elasticsearch. But in the end, I deleted all this because I think that this is not the right way to do this. Instead, I called the Elasticsearch index and removed methods from my application service level each time I called the merge or delete DAO Hibernate methods.
Hope this helps
source share