Update examples using updated bulk (available in 9.3.1)
- Dominant language
- JavaScript
- Stars
- 58
- Forks
- 33
- Avg merge
- 5d 9h
- Merged PRs (30d)
- 9
Description
:warning: Breaking Change: elasticsearch.bulk Step
The elasticsearch.bulk step now properly supports all bulk operations (index, create, update, delete) and follows the official Elasticsearch bulk API format.
It's already in main and will be backported to 9.3.1.
## What changed:
Previously, documents were auto-wrapped with { index: {} }. Now you must explicitly specify the action for each document.
## Migration required:
### Before:
operations:
- name: "Yellowstone"
category: "geothermal"
- name: "Grand Canyon"
category: "canyon"
### After:
operations:
- create: {}
- name: "Yellowstone"
category: "geothermal"
- create: {}
- name: "Grand Canyon"
category: "canyon"
## New capabilities:
All bulk operations now work: create, index, update, delete
refresh parameter now works correctly
Update operations with _id and doc fields supported
Contributor guide
Assessment
This issue has not been assessed yet.