我在弹性搜索中安装了smartcn插件,重新启动elasticsearch并尝试使用以下设置创建索引:
PUT /test_chinese
{
"settings": {
"index": {
"analysis": {
"analyzer": {
"default": {
"type": "smartcn"
}
}
}
}
}
}然而,当我在Marvel中运行这个错误时,我得到了这个错误,我在弹性搜索中看到了很多错误:
“IndexCreationException”:"IndexCreationException[test_chinese未能创建索引];嵌套:ElasticsearchIllegalArgumentException[未能找到分析器类型smartcn或默认标记程序];嵌套:NoClassSettingsException[未能加载带有值smartcn的类设置类型];嵌套:ElasticsearchIllegalArgumentException ",“状态”:400
知道我可能错过了什么吗?
发布于 2018-03-06 01:41:43
我想通了。我手动安装了拉链上的插件,这引起了问题.我重新安装的方式是正确的,但具体到1.7,它起作用了。
https://stackoverflow.com/questions/49079438
复制相似问题