Render a search application query
Unreleased This version is not released yet and can change. View the latest version (v9)
- POST /_application/search_application/{name}/_render_query
Unreleased This version is not released yet and can change. View the latest version (v9)
Generate an Elasticsearch query using the specified query parameters and the search template associated with the search application or a default template if none is specified.
If a parameter used in the search template is not specified in params, the parameter's default value will be used.
The API returns the specific Elasticsearch query that would be generated and run by calling the search application search API.
You must have read privileges on the backing alias of the search application.
Response Type: object