Search documents
searchSearch a single Elasticsearch index using a Query DSL body; matching fields are highlighted and results paginate via size and from parameters.
Instructions
Search one index with a query DSL body. Matching text fields are highlighted. Paging goes inside queryBody (size, from); size is capped at 100 per call, so page with from for more.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | Index to search | |
| queryBody | Yes | Query DSL body: query, size, from, sort, aggs, _source. |