Skip to content
New issue

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

pinyin索引创建不了 怎么解决 #271

Open
hanfang1997 opened this issue May 27, 2022 · 1 comment
Open

pinyin索引创建不了 怎么解决 #271

hanfang1997 opened this issue May 27, 2022 · 1 comment

Comments

@hanfang1997
Copy link

image

@hanfang1997
Copy link
Author

PUT /pinyin
{
"settings" : {
"analysis" : {
"analyzer" : {
"pinyin_analyzer" : {
"tokenizer" : "my_pinyin"
}
},
"tokenizer" : {
"my_pinyin" : {
"type" : "pinyin",
"keep_first_letter":true,
"keep_separate_first_letter" : false,
"keep_full_pinyin" : false,
"limit_first_letter_length" : 20,
"lowercase" : true,
"keep_none_chinese":false
}
}
}
}
}
这种也不行,同样的错误,type 没有 pinyin类型

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant