The chinese segment got wrong result in v0.4.10
Author: qq253498229Created Sep 18, 2024Updated Mar 21, 2025
Request:
### 分析
POST http://localhost:4080/api/_analyze
Authorization: Basic admin adminpwd
Content-Type: application/json
{
"analyzer": "gse_search",
"text": "大连高新园区火炬路第三个桥洞"
}Response:
{
"tokens": [
{
"token": "大连高",
"start_offset": 0,
"end_offset": 9,
"position": 0,
"type": "Ideographic",
"keyword": false
},
{
"token": "新园区",
"start_offset": 9,
"end_offset": 18,
"position": 1,
"type": "Ideographic",
"keyword": false
},
{
"token": "火炬路",
"start_offset": 18,
"end_offset": 27,
"position": 1,
"type": "Ideographic",
"keyword": false
},
{
"token": "第三个",
"start_offset": 27,
"end_offset": 36,
"position": 1,
"type": "Ideographic",
"keyword": false
},
{
"token": "桥",
"start_offset": 36,
"end_offset": 39,
"position": 1,
"type": "Ideographic",
"keyword": false
},
{
"token": "洞",
"start_offset": 39,
"end_offset": 42,
"position": 1,
"type": "Ideographic",
"keyword": false
}
]
}The participle is not correct. It should be, or it should be subdivided:
大连/高新园区/火炬路/第三个/桥洞
Source: zincsearch/zincsearch