We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GET /_analyze { "analyzer" : "ik_smart", "text" : "我们A A制" } { "tokens": [ { "token": "我们", "start_offset": 0, "end_offset": 2, "type": "CN_WORD", "position": 0 }, { "token": "制", "start_offset": 5, "end_offset": 6, "type": "CN_CHAR", "position": 1 } ] }
The text was updated successfully, but these errors were encountered:
ik默认会加载一个停用词典stopword.dic,里面包含字母'a'(在英文中被认为是停用词),所以会被过滤掉,把ik目录下/config/stopword.dic清空就可以了
Sorry, something went wrong.
No branches or pull requests
GET /_analyze
{
"analyzer" : "ik_smart",
"text" : "我们A A制"
}
{
"tokens": [
{
"token": "我们",
"start_offset": 0,
"end_offset": 2,
"type": "CN_WORD",
"position": 0
},
{
"token": "制",
"start_offset": 5,
"end_offset": 6,
"type": "CN_CHAR",
"position": 1
}
]
}
The text was updated successfully, but these errors were encountered: