ListUserAnalyzers - 获取用户的自定义分词器列表

获取用户的自定义分词器列表。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
pageNumberinteger

页码,默认 pageNumber=1

1
pageSizeinteger

每页返回数目,默认 pageSize=10

10

返回参数

名称类型描述示例值
object
totalCountinteger

总数

1
requestIdstring

请求ID

0A6EB64B-B4C8-CF02-810F-E660812972FF
resultarray

自定义分析器

参考:UserAnalyzer

object
createdinteger

创建时间戳

1588054131
availableboolean

是否可用

false
namestring

名称

kevin_test2
updatedinteger

更新时间戳

1588054131
idstring

自定义分析器ID

1234
businessstring

基础分词器

  • chn_standard 中文-通用分析
  • chn_scene_name 中文-人名分析
  • chn_ecommerce 中文-电商分析
  • chn_it_content IT-内容分析
  • en_min 英文-小粒度分析
  • th_standard 泰语-通用分析
  • th_ecommerce 泰语-电商分析
  • vn_standard 越南语-通用分析
  • chn_community_it 行业-内容IT分析
  • chn_ecommerce_general 行业-电商通用分析
  • chn_esports_general 行业-游戏通用分析
  • chn_edu_question 行业-教育搜题
chn_standard
dictsarray

自定义分词词典

参考:UserDict

object
createdinteger

创建时间戳

1588054131
entriesCountinteger

词条数量

-1
typestring

类型

  • segment 拆分
segment
entriesLimitinteger

词条数量限制

4
availableboolean

是否可用

false
updatedinteger

更新时间戳

1588054131
idstring

词典ID

123

示例

正常返回示例

JSON格式

{
  "totalCount": 1,
  "requestId": "0A6EB64B-B4C8-CF02-810F-E660812972FF",
  "result": [
    {
      "created": 1588054131,
      "available": false,
      "name": "kevin_test2",
      "updated": 1588054131,
      "id": "1234",
      "business": "chn_standard",
      "dicts": [
        {
          "created": 1588054131,
          "entriesCount": -1,
          "type": "segment",
          "entriesLimit": 4,
          "available": false,
          "updated": 1588054131,
          "id": "123"
        }
      ]
    }
  ]
}

错误码

访问错误中心查看更多错误码。

阿里云首页 智能开放搜索 OpenSearch 相关技术圈