Advanced Search for Your Legacy Application
summary
Shows how to add Elasticsearch to a running Java application by serializing domain beans to JSON with Jackson and indexing them either synchronously or using Elasticsearch's BulkProcessor and TransportClient. Replaces SQL LIKE queries with QueryBuilders and boolean queries, demonstrates custom mappings and autocomplete analyzers using an open‑source helper (beonderer), and exposes results to an Angular frontend while measuring indexing throughput (~8–12k docs/sec for ~1,000,000 docs) and query latencies (~4 ms); also covers facets/aggregations and async indexing options via brokers or Logstash.
AI-written summary · about
chapters (19)
- 0:00Legacy search intro
- 5:50Choosing Elasticsearch
- 8:41Document design
- 10:04Adding library
- 12:11Creating client
- 15:49Indexing data
- 17:59Deleting data
- 19:26Injecting sample data
- 20:29Migrating to Elasticsearch
- 26:18Bulk processing
- 28:30Mapping basics
- 33:08BeyondSearch mapping
- 36:33Impact on database
- 38:42Data aggregation
- 40:30Faceted navigation
- 42:17Advanced aggregations
- 44:03Sync vs async
- 45:10Kibana exploration
- 45:32Q&A
