create_index
Set up a new Elasticsearch index with custom mapping and optional settings to define field types, shards, replicas, and analysis for structured data management.
Instructions
Create a new Elasticsearch index with optional mapping and settings configuration
Input Schema
Name | Required | Description | Default |
---|---|---|---|
index | Yes | Name of the new Elasticsearch index to create | |
mapping | Yes | Index mapping configuration defining field types and properties | |
settings | No | Optional index settings for shards, replicas, analysis, etc. |
Input Schema (JSON Schema)
{
"properties": {
"index": {
"description": "Name of the new Elasticsearch index to create",
"title": "Index",
"type": "string"
},
"mapping": {
"additionalProperties": true,
"description": "Index mapping configuration defining field types and properties",
"title": "Mapping",
"type": "object"
},
"settings": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional index settings for shards, replicas, analysis, etc.",
"title": "Settings"
}
},
"required": [
"index",
"mapping"
],
"type": "object"
}