Retrieves the details of query policies.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
opensearch:DescribeSearchStrategy |
*SearchStrategy
|
None | None |
Request syntax
GET /v4/openapi/app-groups/{appGroupIdentity}/apps/{appId}/search-strategies HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| appGroupIdentity |
string |
Yes |
The name of the application. |
"my_app" |
| appId |
string |
Yes |
The ID of the application version. |
"110123456" |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned object. |
{} |
|
| requestId |
string |
The ID of the request. |
9C6351F5-2E2E-5249-888B-88A74E1B8A65 |
The following is a sample result object:
{
"name": "test",
"status": 1,
"description": "",
"updated": 12455,
"searchConfigs": [
{
"queryType": "vector",
"firstRankName": "",
"secondRankName": "",
"mergeProportion": 30
},
{
"queryType": "keyword",
"firstRankName": "",
"secondName": "",
"mergeProportion": 70
}
],
"mergeConfig": {
"rankName": "",
"docCount": 5000
}
}
Examples
Success response
JSON format
{
"requestId": "9C6351F5-2E2E-5249-888B-88A74E1B8A65"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.