search
Query Elasticsearch indices using custom DSL to retrieve data with enabled highlights. Optionally include query profiling and execution explanations for deeper analysis.
Instructions
Perform an Elasticsearch search with the provided query DSL. Highlights are always enabled.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
explain | No | Whether to include explanation of how the query was executed | |
index | Yes | Name of the Elasticsearch index to search | |
profile | No | Whether to include query profiling information | |
queryBody | Yes | Complete Elasticsearch query DSL object that can include query, size, from, sort, etc. |