Skip to main content
Glama
cloudsmithy

Easysearch MCP Server

by cloudsmithy

index_prepare_for_shrink

Prepares an index for shrinking by setting it to read-only and migrating all shards to a single node. This ensures the index meets prerequisites for size reduction operations.

Instructions

    准备索引用于收缩(shrink 的前置条件)
    
    将索引设为只读,并将所有分片迁移到同一节点
    
    参数:
        index: 索引名称
        target_node: 目标节点名称(可选,不传则使用第一个数据节点)
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
indexYes
target_nodeNo
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