我正在按照本教程学习 Elasticsearch,并在 EC2 上运行它:
http://exploringelasticsearch.com/book/an-overview/up-and-running.html
所以我能够运行服务器,并且使用提供的查询工具 ( http://elastichammer.exploringelasticsearch.com/ ) 我可以获得状态响应。但是,当我尝试使用 PUT 创建索引时,我得到了错误:
{“错误”:“IndexCreationException [[行星] 未能创建索引];嵌套:NoClassDefFoundError [无法初始化类 org.elasticsearch.index.codec.postingsformat.PostingFormats];”,
“状态”:500 }
当我使用 cURL 时也会发生同样的事情......我可以得到示例响应
curl -XGET http://ec2-54-218-36-27.us-west-2.compute.amazonawscom:9200/
以及以下状态:
curl -XGET http://ec2-54-218-36-27.us-west-2.compute.amazonawscom:9200/_status
有人经历过吗?
谢谢!