Skip to main content
Glama
cloudsmithy

Easysearch MCP Server

by cloudsmithy

doc_update_by_query

Update multiple documents in an Easysearch index using a query to specify which documents to modify, applying a script to change their fields.

Instructions

按查询更新文档 参数: index: 索引名称 query: 查询条件(可选,不传则匹配所有) script: 更新脚本 refresh: 是否刷新 示例: doc_update_by_query("products", query={"term": {"category": "electronics"}}, script={"source": "ctx._source.on_sale = true"} )

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
indexYes
queryNo
scriptNo
refreshNo
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