doc_bulk_simple
Perform bulk indexing operations to add multiple documents to an Elasticsearch/OpenSearch-compatible database using simplified parameters for efficient data insertion.
Instructions
简化的批量写入(仅支持 index 操作)
参数:
index: 索引名称
documents: 文档列表
refresh: 刷新策略
示例:
doc_bulk_simple("products", [
{"name": "A", "price": 100},
{"name": "B", "price": 200}
])
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| documents | Yes | ||
| refresh | No |