Skip to main content
Glama
cloudsmithy

Easysearch MCP Server

by cloudsmithy

cluster_reroute

Manually reroute shards in an Easysearch cluster by moving or canceling shard allocations between nodes to optimize performance or resolve issues.

Instructions

    手动重新路由分片
    
    参数:
        commands: 路由命令列表
        dry_run: 是否仅模拟执行
    
    示例 - 移动分片:
        cluster_reroute(commands=[{
            "move": {
                "index": "test", "shard": 0,
                "from_node": "node1", "to_node": "node2"
            }
        }])
    
    示例 - 取消分片:
        cluster_reroute(commands=[{
            "cancel": {"index": "test", "shard": 0, "node": "node1"}
        }])
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandsNo
dry_runNo
Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cloudsmithy/easysearch-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server