Create an index
create_indexCreates a new Elasticsearch index with optional mappings and settings. Errors if the index already exists; use mapping creation to add fields to an existing index.
Instructions
Create a new index. Fails if it already exists — use create_mapping to add fields to an existing one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | Index name | |
| mappings | No | Field mappings, e.g. { properties: { title: { type: 'text' } } } | |
| settings | No | Index settings, e.g. number_of_shards, number_of_replicas |