我配置完分词插件后输入了以下创建索引的命令。
curl -XPUT http://localhost:9200/index
但是却出现了下面的错误。
$ curl -XPUT http://localhost:9200/index
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 239 100 239 0 0 1397 0 --:--:-- --:--:-- --:--:-- 1397{"error":"IndexCreationException[[index] failed to create index]; nested: NoClassDefFoundError[org/apache/http/client/ClientProtocolException]; nested: ClassNotFoundException[org.apache.http.client.ClientProtocolException]; ","status":500}
希望大神为我点破迷津。感激不尽啊。
令附上我配置分词插件的流程:
http://blog.csdn.net/liuzhenfeng/article/details/39404435
我的ES版本是1.3.2,IK是1.2.8
请问解决了吗?我也遇到了这个问题!唉……
请问解决了吗?我也碰到了。
elasticsearch lib 文件夹中 引入httpclient-4.3.5.jar httpcore-4.3.2.jar
elasticsearch lib 文件夹中 引入httpclient-4.3.5.jar httpcore-4.3.2.jar
我也遇到了,解决了,我写在博客上了 http://blog.mreald.com/160
主要是包拷错了。
谢谢林里灰羊, 搞定!
请问解决了吗?我也碰到了。