count
Count documents in an Easysearch index, optionally filtering results with query parameters to track specific data subsets.
Instructions
统计文档数量
参数:
index: 索引名称
query: 查询条件(可选)
示例:
count("products")
count("products", query={"term": {"status": "active"}})
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| query | No |