opensearch_count
Count documents in an OpenSearch index with an optional query filter. Provides a lightweight way to get document counts without running full queries.
Instructions
Quick document count with optional query filter. Lighter than full query.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | Index name | |
| query | No | Query filter (optional, counts all if omitted) |