Queries the rough sort expression configured for an OpenSearch application version.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
opensearch:DescribeFirstRank |
*FirstRank
|
None | None |
Request syntax
GET /v4/openapi/app-groups/{appGroupIdentity}/apps/{appId}/first-ranks/{name} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| appGroupIdentity |
string |
Yes |
The name of the application. |
my_app_group_name |
| appId |
integer |
Yes |
The version number of the application. |
110157886 |
| name |
string |
Yes |
The name of the rough sort expression. |
test |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| requestId |
string |
The request ID. |
0A6EB64B-B4C8-CF02-810F-E660812972FF |
| result |
object |
The information about the rough sort expression. |
|
| description |
string |
The description of the expression. |
- |
| active |
boolean |
Indicates whether the expression is the default one. |
false |
| name |
string |
The name of the expression. |
ar_wear_edit_time |
| meta |
array<object> |
The information about the expression. |
|
|
object |
|||
| arg |
string |
The parameters that are used by a function in the expression. |
ar_edit_time |
| attribute |
string |
The attribute, scoring feature, or search field. |
timeliness_ms() |
| weight |
number |
The weight. Valid values: -100000 to 100000. The value cannot be 0. |
1 |
Examples
Success response
JSON format
{
"requestId": "0A6EB64B-B4C8-CF02-810F-E660812972FF",
"result": {
"description": "-",
"active": false,
"name": "ar_wear_edit_time",
"meta": [
{
"arg": "ar_edit_time",
"attribute": "timeliness_ms()",
"weight": 1
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.