简体   繁体   English

elasticsearch-head在浏览器中看不到

[英]elasticsearch-head nothing to see in browser

First step in the bigdata world, trying to be confortable with elasticsearch. 大数据领域的第一步,尝试使Elasticsearch变得舒适。

I found some nice tutorial and they ask me to install the plugin head. 我找到了一些不错的教程,他们要求我安装插件头。 When I creat my index everything going nice (from Sense plugin on Chrome) 创建索引时,一切正常(来自Chrome上的Sense插件)

 POST /gil/tuto/
{
    "title": "Tuto 1",
    "categorie": "Tuto Elasticsearch ",
    "tag": ["Elasticsearch", "tuto", "ES"],
    "duration": 42
}

Doing a GET return a json as excepted. 进行GET返回例外的json。

With head plugin I can see my index but in the browser tab I see nothing, nada, rien du tout. 使用head插件,我可以看到索引,但是在浏览器选项卡中什么也看不到,nada,rien du tout。

I reinstall everything from scratch but I still get the problem. 我从头开始重新安装所有内容,但仍然遇到问题。

Any idea how to fix this ? 任何想法如何解决这个问题?

EDIT : 编辑:

The problem come from the _type. 问题来自_type。 From the sense or head plugin : If I try to GET POST or DELETE /XXX , It works. 从意义上或头上的插件:如果我尝试GET POST or DELETE /XXX ,它的工作原理。 If I try to GET POST or DELETE /XXX/YYY/ZZZ , It works. 如果我尝试GET POST or DELETE /XXX/YYY/ZZZ ,它可以工作。

But If I try to GET POST or DELETE /XXX/YYY I have an error. 但是,如果我尝试GET POST or DELETE /XXX/YYY则会出错。

I think the browser tab use a GET on every _type to load the data. 我认为浏览器选项卡在每个_type上使用GET来加载数据。

Something wrong happen with the _type of my _index. 我的_index的_type出了点问题。

I erase every _index I have. 我删除了每个_index。 Create a new one. 创建一个新的。 Same trouble. 同样的麻烦。

I finally find out why Head doesn't act all the tutorials out there ! 我终于发现为什么Head不能执行所有的教程了! I have installed ES2.0, all the tutorial were made with < ES2.0. 我已经安装了ES2.0,所有教程都是用<ES2.0制作的。

Also the head plugin seems to not be working well with this version. 另外,该头插件似乎不适用于该版本。 Someone advice me about the plugin kopf 有人建议我关于Kopf插件

bin/plugin install lmenezes/elasticsearch-kopf

Looking good (AngulasJS/Botstrap/Material Design like) and working good too. 看起来不错(AngulasJS / Botstrap / Material Design之类)并且工作也不错。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM