如何使用Sense for Chrome启动_bulk请求?

时间:2016-02-09 08:43:44

标签: google-chrome elasticsearch sense

我开始使用ElasticSearch和Sense for Chrome(在Windows 7下),我无法启动简单的POST请求(来自https://www.elastic.co/guide/en/elasticsearch/reference/current/_exploring_your_data.html)。我得到一个基本的Request failed to get to the server (status code: 0):

localhost:9200/bank/account/_bulk?pretty' --data-binary "@accounts.json"

My screenshot of Sense

account.json文件位于我的elasticsearch/bin目录中。

问题很简单:我的(语法?)错误在哪里?

1 个答案:

答案 0 :(得分:0)

您没有运行弹性搜索的实例无法访问localhost的服务器:9200表示。