Smart Chinese Analyzer returns numbers instead of chinese tokens


(Bogdan Petea) #1

Hello guys,

I'm new to Elasticsearch and I apologize if my question is a bad one.

I installed Smart Chinese Analysis plugin 2.7.0, restarted elasticsearch server and tried to see how my analyser splits chinese characters, like this:
PUT /test_chinese
{
"settings": {
"index": {
"analysis": {
"analyzer": {
"default": {
"type": "smartcn"
}
}
}
}
}
}

GET /test_chinese/_analyze?text='你好,世界'

But instead of getting the Chinese tokens, I get some numbers. Could you help me?


(system) #2