Elasticsearch and Hibernate
summary
Shows a working integration that replaces ad hoc Jackson + Elasticsearch calls with Hibernate Search wiring into Hibernate ORM to keep RDBMS and Elasticsearch indexes synchronized. Configuration uses the REST endpoint (9200), Hibernate generates JSON mappings and analyzers, and changes are queued and batch indexed at transaction commit so rollbacks don’t leave indexes inconsistent. Provides a full-text EntityManager with a type-safe query builder plus native JSON queries, supports schema generation and a mass indexer, notes 10k default result limit and current ES 2.4 / ES5 work.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 2:40Demo
- 3:45Unit test
- 6:20Problem description
- 13:05Configuration
- 15:25Mapping
- 16:45Indexing
- 17:35Updating Characters
- 18:05Hibernate Search
- 19:45Query Builder
- 22:05Pagination
- 23:25Projection
- 24:55Hibernate Integration
- 26:05Questions
related talks
48mFrom Hibernate to ElasticSearch in no time
51mHibernate Search talk
51mHibernate you know it... but actually you don't
51mAdvanced search for your legacy application
01h 00mAdvanced search for your legacy application
41mAdvanced search for your legacy application
54mAdvanced (elastic)search for your legacy application
53mHibernate you know it… but actually you don’t
