transportclient连接elasticsearch中遇到的问题

在eclipse中使用transportclient 连接本地的elasticsearch 时,出现下面的错误:
十二月 13, 2014 6:32:24 下午 org.elasticsearch.plugins.PluginsService <init>
信息: [Crimson Dynamo V] loaded [], sites []
Exception in thread "main" org.elasticsearch.common.settings.SettingsException: Failed to get setting group for [index.analysis.analyzer.] setting prefix and setting [index.analysis.analyzer.ik_max_word] because of a missing '.'
at org.elasticsearch.common.settings.ImmutableSettings.getGroups(ImmutableSettings.java:540)
at org.elasticsearch.common.settings.ImmutableSettings.getGroups(ImmutableSettings.java:518)
at org.elasticsearch.index.analysis.AnalysisModule.configure(AnalysisModule.java:349)
at org.elasticsearch.common.inject.AbstractModule.configure(AbstractModule.java:60)
at org.elasticsearch.common.inject.spi.Elements$RecordingBinder.install(Elements.java:204)
at org.elasticsearch.common.inject.spi.Elements.getElements(Elements.java:85)
at org.elasticsearch.common.inject.InjectorShell$Builder.build(InjectorShell.java:130)
at org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:99)
at org.elasticsearch.common.inject.InjectorImpl.createChildInjector(InjectorImpl.java:131)
at org.elasticsearch.common.inject.ModulesBuilder.createChildInjector(ModulesBuilder.java:69)
at org.elasticsearch.indices.InternalIndicesService.createIndex(InternalIndicesService.java:299)
at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$2.execute(MetaDataCreateIndexService.java:382)
at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:329)
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:153)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
已邀请:

Rubricate - hi

赞同来自:

你是装了什么插件么?

sherry - 80IT女

赞同来自:

恩是的 elasticsearch-analysis-ik这个插件

stab - freshman

赞同来自:

没装好吧~elasticsearch.yml里配置了么?

yuzhongsenlin

赞同来自:

ik_max_word   ik_smart

要回复问题请先登录注册