Search
elasticsearch.search
ActionDatabases & warehousesconnection required
Calls the Elasticsearch API POST /{index}/_search.
Run a Query DSL search against an Elasticsearch index.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Elasticsearch
- Secret shape
- an API key, or {"username", "password"}
- Config it needs
- base_url
- Resolved by
- config.connection_id, else node.connection_id
Configuration
3 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
index Index (or pattern) to search. Supports {{ }}. | string | Yes | — | — | — |
query Query DSL object (blank = match_all). | object | No | — | — | — |
size Max hits (1-1000). | number | No | 10 | ≥ 0 | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"size": 10
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
hits | array | — |
count | number | — |
total | number | — |
{
"count": 0,
"hits": [],
"total": 0
}Related Elasticsearch nodes
See Search run in a workflow.
In a technical demo we add the Elasticsearch connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.