Advanced Search For Your Legacy Application
summary
Adds Elasticsearch to a RestX + Hibernate + Postgresql/MySQL app and shows a working integration that indexes records on the service layer within the same transaction, uses the Java Transport client, Jackson serialization, and a BulkProcessor to move from ~29 docs/s to millions indexed locally, exposes multimatch full‑text search, fixes tokenization with custom analyzers and n‑gram fields, adds fuzziness for typos, implements aggregations and date histograms, and drives a Kibana dashboard so search and aggregations work in real time.
AI-written summary · about
chapters (19)
- 0:00Introduction and context
- 3:46Legacy application overview
- 5:55Problem with current search
- 7:45Integrating Elasticsearch directly
- 10:13Adding Elasticsearch client
- 18:20Starting Elasticsearch and Kibana
- 20:07Indexing data into Elasticsearch
- 25:28Switching to Elasticsearch search
- 26:29Fixing search relevance with analyzers
- 28:41Improving indexing performance
- 30:52Custom mapping with Beyond
- 33:52Indexing with custom settings
- 36:20Testing search with new mappings
- 36:43Measuring indexing speed
- 38:12Adding aggregations
- 40:21Advanced aggregations
- 41:26Handling typos with fuzziness
- 42:07Visualizing data with Kibana
- 43:33Q&A and conclusion
