Create or update a mapping
create_mappingAdd or update index mappings, creating the index when missing. Apply field properties while respecting that existing field types cannot be changed.
Instructions
Add or update fields on an index, creating the index if it does not exist. Elasticsearch cannot change the type of an existing field.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | Index name | |
| mappings | Yes | Mapping to apply, e.g. { properties: { tags: { type: 'keyword' } } } |