IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Get Search Application
editGet Search Application
editThis functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.
Retrieves information about a Search Application.
Request
editGET _application/search_application/<name>
Prerequisites
editRequires the manage_search_application
cluster privilege.
Path parameters
edit-
<name>
- (Required, string)
Response codes
edit-
400
-
The
name
was not provided. -
404
(Missing resources) -
No Search Application matching
name
could be found.
Examples
editThe following example gets the Search Application named my-app
:
GET _application/search_application/my-app/
A sample response:
{ "name": "my-app", "indices": [ "index1", "index2" ], "updated_at_millis": 1682105622204, "template": { "script": { "source": { "query": { "query_string": { "query": "{{query_string}}", "default_field": "{{default_field}}" } } }, "params": { "query_string": "*", "default_field": "*" } } } }