Home›Elasticsearch Tutorial
Free course
Elasticsearch Tutorial
Learn Elasticsearch from zero, one small and easy step at a time. Every idea is explained in plain words, then shown as real requests in the Kibana Dev Tools console and real Python code, run against a real Elasticsearch 9 cluster with real output.
Course contents
Every lesson has its own page with the explanation, code you can copy, the real output, screenshots from the video, and a link that jumps straight to that moment in the video.
1. What Is Elasticsearch
2. Documents, Clusters and Setup
3. Kibana and Your First Requests
4. Indexes and Documents
- Creating an Index9:11
- Indexing a Document10:04
- Getting a Document10:52
5. Create, Update, Delete
- Auto IDs with POST11:39
- Updating Documents12:37
- Deleting Documents13:32
6. Versions, Bulk and Refresh
- Versions and Conflicts14:19
- The Bulk API15:27
- Counting and Refresh16:27
7. Multi Get and By Query
8. Your First Searches
- Your First Search20:01
- Reading the Response20:58
- The match Query21:56
9. Phrases and Many Fields
- AND or OR22:55
- match_phrase23:57
- multi_match24:48
10. Exact Values and Ranges
- term on Keywords25:42
- terms and ids26:43
- range27:27
11. More Queries, Sorting and Paging
- exists, prefix and wildcard28:16
- Sorting29:24
- Paging and _source30:15
12. The bool Query
- The bool Query31:14
- filter: No Scores32:08
- should and Boosting33:06
13. Excluding and Context
- must_not33:59
- Query vs Filter Context34:48
- Practice: A Real Shop Query35:43
14. Mappings
- Dynamic Mapping36:44
- Explicit Mappings37:44
- text vs keyword38:47
15. Field Types in Depth
- Multi-fields39:49
- Numbers, Dates, Booleans40:43
- Objects and Arrays41:32
16. Nested, Reindex and Aliases
- The nested Type42:26
- Changing a Mapping: Reindex43:27
- Aliases44:25
17. Templates and Strict Mappings
18. Text Analysis
- How Analysis Works48:40
- The _analyze API49:48
- Built-in Analyzers50:44
19. Stemming, Synonyms and Custom Analyzers
- Stop Words and Stemming51:42
- Synonyms52:41
- Custom Analyzers53:41
20. Normalizers and Autocomplete
- Normalizers54:44
- Autocomplete with Edge N-grams55:43
- search_as_you_type56:43
21. Relevance and Scoring
- How Scoring Works57:42
- The explain API58:43
- Field Boosting59:36
22. Custom Scoring and Typos
- function_score1:00:35
- Decay Functions1:01:36
- Fuzzy Matching1:02:30
23. Better Ranking and Aggregations
- Practice: Better Ranking1:03:25
- Aggregations1:04:30
- terms Aggregation1:05:31
24. Metrics and Statistics
- Metric Aggregations1:06:24
- stats and Percentiles1:07:17
- Aggregating a Search1:08:15
25. Ranges and Histograms
- range Aggregation1:09:09
- histogram1:10:03
- date_histogram1:10:49
26. Sub-aggregations, Cardinality, top_hits
- Sub-aggregations1:11:43
- cardinality1:12:40
- top_hits1:13:34
27. Facets and Dashboards
- Facets with post_filter1:14:25
- Pipeline Aggregations1:15:24
- Practice: A Sales Dashboard1:16:22
28. Highlighting and Suggestions
- Highlighting1:17:15
- Completion Suggester1:18:08
- Did You Mean1:19:02
29. Deep Paging, collapse and Geo
- Deep Paging with search_after1:19:56
- collapse1:20:56
- Geo Search1:21:46
30. Elasticsearch from Python
- The Python Client1:22:42
- Indexing from Python1:23:43
- Bulk Helpers1:24:36
31. Searching and Errors in Python
- Searching from Python1:25:31
- Aggregations in Python1:26:24
- Errors and Retries1:27:17
32. Scan, FastAPI and a Search Service
- Scanning Every Document1:28:12
- A Search API with FastAPI1:29:13
- Practice: Python Search Service1:30:15
33. Semantic Search and Vectors
- Keyword vs Semantic Search1:31:09
- Embeddings1:32:08
- dense_vector1:33:05
34. kNN, Filters and Hybrid Search
- kNN Search1:34:02
- Filtered kNN1:35:06
- Hybrid Search1:36:03
35. RAG, Ingest Pipelines and Runtime Fields
- RAG with Elasticsearch1:37:00
- Ingest Pipelines1:38:02
- Runtime Fields1:38:58
36. Shards, Health and Performance
- Shards and Replicas1:40:03
- Health Colors1:41:02
- Refresh and Performance1:41:51
37. Data Streams, Snapshots and Security
- Data Streams and ILM1:42:49
- Snapshots1:43:54
- Security Basics1:44:48
38. Monitoring, Mistakes and OpenSearch
- Monitoring1:45:39
- Common Mistakes1:46:40
- Elasticsearch vs OpenSearch1:47:31
39. Project: Trailhead Search
- Project: Trailhead Search1:48:25
- Project: Search and Facets1:49:30
- Project: Autocomplete and Ranking1:50:30
40. Cheat Sheet, Interview and Roadmap
- Cheat Sheet1:51:23
- Interview Questions1:52:28
- Wrap-up and Roadmap1:53:19