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 Search
editSearch Application Search
editThis functionality is in beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features 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.
Request
editPOST _application/search_application/<name>/_search
Prerequisites
editRequires read privileges on the backing alias of the search application.
Request body
edit-
params
- (Optional, map of strings to objects) Query parameters specific to this request, which will override any defaults specified in the template.
Response codes
edit-
404
-
Search Application
<name>
does not exist.
Examples
editThe 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.