AI Hints
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.

📚 120 lessons▶ 1:53:19+ of video💻 139 code examples🖼 0 screenshots
The complete Elasticsearch course, free on YouTubeWatch on YouTube ↗

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.

3. Kibana and Your First Requests

  1. Kibana Dev Tools6:04
  2. Your First Request7:09
  3. Cluster Health and _cat8:12

4. Indexes and Documents

  1. Creating an Index9:11
  2. Indexing a Document10:04
  3. Getting a Document10:52

5. Create, Update, Delete

  1. Auto IDs with POST11:39
  2. Updating Documents12:37
  3. Deleting Documents13:32

6. Versions, Bulk and Refresh

  1. Versions and Conflicts14:19
  2. The Bulk API15:27
  3. Counting and Refresh16:27

8. Your First Searches

  1. Your First Search20:01
  2. Reading the Response20:58
  3. The match Query21:56

9. Phrases and Many Fields

  1. AND or OR22:55
  2. match_phrase23:57
  3. multi_match24:48

10. Exact Values and Ranges

  1. term on Keywords25:42
  2. terms and ids26:43
  3. range27:27

11. More Queries, Sorting and Paging

  1. exists, prefix and wildcard28:16
  2. Sorting29:24
  3. Paging and _source30:15

13. Excluding and Context

  1. must_not33:59
  2. Query vs Filter Context34:48
  3. Practice: A Real Shop Query35:43

15. Field Types in Depth

  1. Multi-fields39:49
  2. Numbers, Dates, Booleans40:43
  3. Objects and Arrays41:32

16. Nested, Reindex and Aliases

  1. The nested Type42:26
  2. Changing a Mapping: Reindex43:27
  3. Aliases44:25

17. Templates and Strict Mappings

  1. Index Templates45:29
  2. Strict Mappings46:37
  3. Practice: Design the Catalog Mapping47:38

19. Stemming, Synonyms and Custom Analyzers

  1. Stop Words and Stemming51:42
  2. Synonyms52:41
  3. Custom Analyzers53:41

20. Normalizers and Autocomplete

  1. Normalizers54:44
  2. Autocomplete with Edge N-grams55:43
  3. search_as_you_type56:43

21. Relevance and Scoring

  1. How Scoring Works57:42
  2. The explain API58:43
  3. Field Boosting59:36

22. Custom Scoring and Typos

  1. function_score1:00:35
  2. Decay Functions1:01:36
  3. Fuzzy Matching1:02:30

23. Better Ranking and Aggregations

  1. Practice: Better Ranking1:03:25
  2. Aggregations1:04:30
  3. terms Aggregation1:05:31

24. Metrics and Statistics

  1. Metric Aggregations1:06:24
  2. stats and Percentiles1:07:17
  3. Aggregating a Search1:08:15

25. Ranges and Histograms

  1. range Aggregation1:09:09
  2. histogram1:10:03
  3. date_histogram1:10:49

26. Sub-aggregations, Cardinality, top_hits

  1. Sub-aggregations1:11:43
  2. cardinality1:12:40
  3. top_hits1:13:34

28. Highlighting and Suggestions

  1. Highlighting1:17:15
  2. Completion Suggester1:18:08
  3. Did You Mean1:19:02

29. Deep Paging, collapse and Geo

  1. Deep Paging with search_after1:19:56
  2. collapse1:20:56
  3. Geo Search1:21:46

30. Elasticsearch from Python

  1. The Python Client1:22:42
  2. Indexing from Python1:23:43
  3. Bulk Helpers1:24:36

31. Searching and Errors in Python

  1. Searching from Python1:25:31
  2. Aggregations in Python1:26:24
  3. Errors and Retries1:27:17

32. Scan, FastAPI and a Search Service

  1. Scanning Every Document1:28:12
  2. A Search API with FastAPI1:29:13
  3. Practice: Python Search Service1:30:15

33. Semantic Search and Vectors

  1. Keyword vs Semantic Search1:31:09
  2. Embeddings1:32:08
  3. dense_vector1:33:05

34. kNN, Filters and Hybrid Search

  1. kNN Search1:34:02
  2. Filtered kNN1:35:06
  3. Hybrid Search1:36:03

35. RAG, Ingest Pipelines and Runtime Fields

  1. RAG with Elasticsearch1:37:00
  2. Ingest Pipelines1:38:02
  3. Runtime Fields1:38:58

36. Shards, Health and Performance

  1. Shards and Replicas1:40:03
  2. Health Colors1:41:02
  3. Refresh and Performance1:41:51

37. Data Streams, Snapshots and Security

  1. Data Streams and ILM1:42:49
  2. Snapshots1:43:54
  3. Security Basics1:44:48

38. Monitoring, Mistakes and OpenSearch

  1. Monitoring1:45:39
  2. Common Mistakes1:46:40
  3. Elasticsearch vs OpenSearch1:47:31

40. Cheat Sheet, Interview and Roadmap

  1. Cheat Sheet1:51:23
  2. Interview Questions1:52:28
  3. Wrap-up and Roadmap1:53:19