elastic ik中文分词测试

1、发送_analyze请求

elastic ik中文分词测试


2、返回结果:
{
"tokens": [
{
"token": "珠江口",
"start_offset": 0,
"end_offset": 3,
"type": "CN_WORD",
"position": 0
},
{
"token": "珠江",
"start_offset": 0,
"end_offset": 2,
"type": "CN_WORD",
"position": 1
},
{
"token": "江口",
"start_offset": 1,
"end_offset": 3,
"type": "CN_WORD",
"position": 2
},
{
"token": "阳江",
"start_offset": 3,
"end_offset": 5,
"type": "CN_WORD",
"position": 3
},
{
"token": "中山",
"start_offset": 6,
"end_offset": 8,
"type": "CN_WORD",
"position": 4
},
{
"token": "深圳",
"start_offset": 9,
"end_offset": 11,
"type": "CN_WORD",
"position": 5
},
{
"token": "n",
"start_offset": 11,
"end_offset": 12,
"type": "ENGLISH",
"position": 6
},
{
"token": "珠海",
"start_offset": 12,
"end_offset": 14,
"type": "CN_WORD",
"position": 7
},
{
"token": "3",
"start_offset": 14,
"end_offset": 15,
"type": "araBIC",
"position": 8
},
{
"token": "江门",
"start_offset": 15,
"end_offset": 17,
"type": "CN_WORD",
"position": 9
},
{
"token": "user1",
"start_offset": 18,
"end_offset": 23,
"type": "LETTER",
"position": 10
},
{
"token": "user",
"start_offset": 18,
"end_offset": 22,
"type": "ENGLISH",
"position": 11
},
{
"token": "1",
"start_offset": 22,
"end_offset": 23,
"type": "araBIC",
"position": 12
},
{
"token": "周口",
"start_offset": 24,
"end_offset": 26,
"type": "CN_WORD",
"position": 13
}
]
}

相关文章

这篇文章主要介绍“hive和mysql的区别是什么”,在日常操作中...
这篇“MySQL数据库如何改名”文章的知识点大部分人都不太理解...
这篇文章主要介绍“mysql版本查询命令是什么”的相关知识,小...
本篇内容介绍了“mysql怎么修改字段的内容”的有关知识,在实...
这篇文章主要讲解了“mysql怎么删除unique约束”,文中的讲解...
今天小编给大家分享一下mysql怎么查询不为空的字段的相关知识...