IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Search Application Searchedit
This 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.
Given specified query parameters, creates an Elasticsearch query to run. Any unspecified template parameters will be assigned their default values if applicable.
Requestedit
POST _application/search_application/<name>/_search
Prerequisitesedit
Requires read privileges on the backing alias of the search application.
Request bodyedit
-
params
- (Optional, map of strings to objects) Query parameters specific to this request, which will override any defaults specified in the template.
Response codesedit
-
404
-
Search Application
<name>
does not exist.
Examplesedit
The following example performs a search against a search application called my-app
:
POST _application/search_application/my-app/_search { "params": { "value": "my first query", "size": 10, "from": 0, "text_fields": [ { "name": "title", "boost": 10 }, { "name": "text", "boost": 1 } ] } }
The expected results are search results from the query that was run.