Reputation: 1
I installed the smartcn plugin on my elastic search, restarted elasticsearch and tried to create an index with these settings:
PUT /test_chinese
{
"settings": {
"index": {
"analysis": {
"analyzer": {
"default": {
"type": "smartcn"
}
}
}
}
}
}
However, when I run this in Marvel, I get this error back and I see a bunch of errors in Elastic search:
"error": "IndexCreationException[[test_chinese] failed to create index]; nested: ElasticsearchIllegalArgumentException[failed to find analyzer type [smartcn] or tokenizer for [default]]; nested: NoClassSettingsException[Failed to load class setting [type] with value [smartcn]]; nested: ClassNotFoundException[org.elasticsearch.index.analysis.smartcn.SmartcnAnalyzerProvider]; ", "status": 400
Any ideas what I might be missing?
Upvotes: 0
Views: 695
Reputation: 1
I figured it out. I manually installed the plugins from the zip and it was causing issues... I reinstalled the right way but specific to 1.7 and it worked
Upvotes: 0