Deletes the rough sort configuration of an OpenSearch application version.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
opensearch:WriteFirstRank |
*FirstRank
|
None | None |
Request syntax
DELETE /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 group. |
“my_app_group_name” |
| appId |
integer |
Yes |
Specifies the version number. |
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. |
E676FAB6-A0AC-64D9-F9D7-D0D33C930CFF |
| result |
object |
The details of the rough sort expression. |
|
| description |
string |
The description. |
"" |
| active |
boolean |
Indicates whether this is the default expression. |
true |
| name |
string |
The name of the resource. |
default |
| meta |
array<object> |
The details of the expression. |
|
|
object |
|||
| arg |
string |
The parameters of the function in the expression. For more information, see Rough sort. |
"" |
| attribute |
string |
The attribute. This can be a scoring feature or a search field. For information about available scoring features, see Rough sort. |
static_bm25() |
| weight |
number |
The weight. Valid values: -100000 to 100000. The value cannot be 0. |
10 |
Examples
Success response
JSON format
{
"requestId": "E676FAB6-A0AC-64D9-F9D7-D0D33C930CFF",
"result": {
"description": "\"\"",
"active": true,
"name": "default",
"meta": [
{
"arg": "\"\"",
"attribute": "static_bm25()",
"weight": 10
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.