From Hibernate to ElasticSearch in no time
summary
Shows how to index JPA entities into ElasticSearch using Hibernate Search annotations so the index mirrors the database and updates only on transaction commit while rollbacks skip indexing. Demonstrates a small video game app, automatic JSON mappings, transparent denormalization of related entities, a reindex API and both synchronous and background update modes, plus fetching results via projections from the index (no DB roundtrip) and a DSL plus native query translator.
AI-written summary · about
chapters (10)
- 0:00Introduction and speaker intro
- 2:49Why ElasticSearch for search
- 9:58Integrating ElasticSearch with JPA
- 14:28Demo setup and index creation
- 25:28Querying ElasticSearch with JPA
- 30:18Query DSL and syntax options
- 35:07Index updates and denormalization
- 39:03Grouping and advanced features
- 42:30Future of Hibernate Search with ElasticSearch
- 44:20Q&A
related talks
32mElasticsearch and Hibernate
51mHibernate Search talk
54mAdvanced (elastic)search for your legacy application
49mAdvanced (elastic)search for your legacy application
51mHibernate you know it... but actually you don't
01h 00mAdvanced search for your legacy application
53mHibernate you know it… but actually you don’t
47mAdvanced (Elastic) Search for Your Legacy Application
