GET /_analyze
{
"analyzer": "ik_smart",
"text":"忠孝復興站"
}
{
"tokens": [
{
"token": "忠孝",
"start_offset": 0,
"end_offset": 2,
"type": "CN_WORD",
"position": 0
},
{
"token": "復興",
"start_offset": 2,
"end_offset": 4,
"type": "CN_WORD",
"position": 1
},
{
"token": "站",
"start_offset": 4,
"end_offset": 5,
"type": "CN_CHAR",
"position": 2
}
]
}