count_documents
Count documents matching a query without returning hits. Size up a query result before carrying out the actual search.
Instructions
Count matching documents without returning hits. Cheap way to size a query before running it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| query | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |