Bulk Indexing and the Bulk API
Index thousands of documents efficiently using the Bulk API and learn to handle partial failures.
Why Bulk
Indexing documents one HTTP request at a time is slow. The Bulk API packs many operations into a single request, dramatically improving throughput.
The NDJSON Format
Bulk requests use newline-delimited JSON: each action line is followed by its source line (for index/create/update). Every line ends with a newline, including the last.
All lessons in this course
- Indexing Documents into Elasticsearch
- CRUD Operations with Documents
- Basic Mapping and Data Types
- Bulk Indexing and the Bulk API