我正在尝试使用 graphware neo4j-to-elastic 插件集成 Neo4j 和 ElasticSearch。参考: https ://github.com/graphaware/neo4j-to-elasticsearch
neo4j 和 elastic 上的当前版本分别为 3.1.2 和 2.4.2。我已经启动了 elasticsearch 服务器并在端口 9200 和 9300 上运行。
完成上述步骤后,我重新启动了neo4j,我得到一个错误
2017-04-04 18:57:13.453+0000 INFO [c.g.m.e.s.Searcher] Created Jest Client.
2017-04-04 18:57:13.453+0000 ERROR [c.g.m.e.ElasticSearchWriter] Failed to create Elasticsearch index. org.apache.http.client.ClientProtocolException
java.lang.RuntimeException: org.apache.http.client.ClientProtocolException
at com.graphaware.module.es.mapping.BaseMapping.lambda$createIndexAndMapping$13(BaseMapping.java:177)
at com.graphaware.module.es.mapping.BaseMapping$$Lambda$234/582360661.accept(Unknown Source)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source)
at java.util.stream.DistinctOps$1$2.accept(Unknown Source)
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Unknown Source)
at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
我无法理解为什么会收到此错误?