Bulk index documents
bulkIndex up to 1000 documents in one call, with immediate searchability by default. Per-document failures are reported individually without failing the entire request.
Instructions
Index up to 1000 documents in one call. The index is refreshed by default, so they are searchable immediately; per-document failures are reported without failing the call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | Target index | |
| idField | No | Field whose value becomes the document _id. Omit to let Elasticsearch generate ids. | |
| refresh | No | Defaults to true, making documents searchable at once. Set false when loading many batches: forcing a refresh per batch is the expensive part. | |
| documents | Yes | Documents to index, at most 1000. Send more in successive batches. |