index_create
Create search indexes with custom field mappings, shard/replica settings, and aliases for organizing data in Easysearch MCP Server.
Instructions
创建索引
参数:
index: 索引名称
mappings: 字段映射定义
settings: 索引设置(分片数、副本数等)
aliases: 别名定义
示例:
index_create("products",
mappings={"properties": {"name": {"type": "text"}, "price": {"type": "float"}}},
settings={"number_of_shards": 3, "number_of_replicas": 1}
)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| mappings | No | ||
| settings | No | ||
| aliases | No |