删除指定 OpenSearch 应用版本的粗排配置。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
opensearch:WriteFirstRank |
*FirstRank
|
无 | 无 |
请求语法
DELETE /v4/openapi/app-groups/{appGroupIdentity}/apps/{appId}/first-ranks/{name} HTTP/1.1
路径参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| appGroupIdentity |
string |
是 |
应用名称 |
“my_app_group_name” |
| appId |
integer |
是 |
版本号 |
110157886 |
| name |
string |
是 |
粗排表达式名称 |
“test” |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
当前API无需请求参数
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| requestId |
string |
请求 ID |
E676FAB6-A0AC-64D9-F9D7-D0D33C930CFF |
| result |
object |
粗排表达式信息 |
|
| description |
string |
描述 |
"" |
| active |
boolean |
是否是默认表达式 |
true |
| name |
string |
名称 |
default |
| meta |
array<object> |
表达式信息 |
|
|
object |
|||
| arg |
string |
表达式函数参数 参考:基础排序 |
"" |
| attribute |
string |
属性,指算分特征或搜索字段, 可用的算分特征,参考:基础排序 |
static_bm25() |
| weight |
number |
权重 取值范围:-100000~100000 非 0 值 |
10 |
示例
正常返回示例
JSON格式
{
"requestId": "E676FAB6-A0AC-64D9-F9D7-D0D33C930CFF",
"result": {
"description": "\"\"",
"active": true,
"name": "default",
"meta": [
{
"arg": "\"\"",
"attribute": "static_bm25()",
"weight": 10
}
]
}
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。