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

是不是新版本不用再elasticsearch.yml中配置一些信息了? #207

Closed
ronyuzhang opened this issue Jun 10, 2016 · 2 comments
Closed

Comments

@ronyuzhang
Copy link

我安装的1.9.3 在elasticsearch.yml中配置了
index:
analysis:
analyzer:
ik:
alias: [ik_analyzer]
type: org.elasticsearch.index.analysis.IkAnalyzerProvider
ik_max_word:
type: ik
use_smart: false
ik_smart:
type: ik
use_smart: true

但是却报错了Caused by: java.lang.IllegalArgumentException: Unknown Analyzer type [org.elasticsearch.index.analysis.IkAnalyzerProvider] for [ik]
@medcl

@Digital2Slave
Copy link

I think you should just add index.analysis.analyzer.default.type: ik at the bottom of elasticsearch.yml.

@medcl
Copy link
Member

medcl commented Jun 13, 2016

type: org.elasticsearch.index.analysis.IkAnalyzerProvider
不支持了
type: ik
支持

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

3 participants