Skip to main content
Glama
cloudsmithy

Easysearch MCP Server

by cloudsmithy

search

Execute search queries on Easysearch indexes using DSL syntax, with support for filtering, sorting, pagination, aggregations, and highlighting.

Instructions

执行搜索查询 参数: index: 索引名称(支持通配符和逗号分隔多个索引) query: DSL 查询条件 size: 返回数量 from_: 起始位置(分页) sort: 排序规则 source: 返回的字段列表 aggs: 聚合定义 highlight: 高亮配置 track_total_hits: 是否精确统计总数 示例 - 全文搜索: search("products", query={"match": {"name": "iPhone"}}) 示例 - 复合查询: search("products", query={ "bool": { "must": [{"match": {"name": "phone"}}], "filter": [{"range": {"price": {"lte": 1000}}}] } }) 示例 - 带排序和分页: search("products", query={"match_all": {}}, sort=[{"price": "desc"}], from_=10, size=10)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
indexYes
queryNo
sizeNo
from_No
sortNo
sourceNo
aggsNo
highlightNo
track_total_hitsNo
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