Q:有两个人掉到陷阱里了,死的人叫死人,活人叫什么?

java client 连接elasticsearch报错

Elasticsearch | 作者 qqq1234567 | 发布于2018年11月06日 | 阅读数:2434

Exception in thread "main" java.lang.IllegalArgumentException: unknown setting [analysis.analyzer.default.type] please check that any required plugins are installed, or check the breaking changes documentation for removed settings
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:293)
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:256)
at org.elasticsearch.common.settings.SettingsModule.<init>(SettingsModule.java:139)
at org.elasticsearch.client.transport.TransportClient.buildTemplate(TransportClient.java:140)
at org.elasticsearch.client.transport.TransportClient.<init>(TransportClient.java:268)
at org.elasticsearch.transport.client.PreBuiltTransportClient.<init>(PreBuiltTransportClient.java:125)
at org.elasticsearch.transport.client.PreBuiltTransportClient.<init>(PreBuiltTransportClient.java:111)
at org.elasticsearch.transport.client.PreBuiltTransportClient.<init>(PreBuiltTransportClient.java:101)
at com.drxy.sentiment.elasticsearch.service.ESLink.getClient(ESLink.java:36)
at com.drxy.sentiment.elasticsearch.service.ESLink.main(ESLink.java:47)
Suppressed: java.lang.IllegalArgumentException: unknown setting [node.client] please check that any required plugins are installed, or check the breaking changes documentation for removed settings
... 10 more
已邀请:

bo

赞同来自:

analysis.analyzer.default.type指的是对索引中的text类型字段设置的默认分析器,是不是代码中指定这个默认分析器集群中并没有安装?

要回复问题请先登录注册