put_mapping
Add new fields to an existing index mapping in Elasticsearch. Requires confirmation and enables only additive changes, helping extend schemas without data loss.
Instructions
Add new fields to an existing index mapping. Only additive changes are possible in Elasticsearch; changing an existing field type requires reindex. Blocked unless the server runs with writes enabled, and requires confirm=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| confirm | No | ||
| properties | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |