ElasticSearch API在运行Crate时暴露在哪里? [英] Where are the ElasticSearch APIs exposed when running Crate?

查看:146
本文介绍了ElasticSearch API在运行Crate时暴露在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经成功地将弹性搜索头插件安装在箱子上,并可以访问其Web UI,但无法连接。我想使用它可视化基础弹性搜索存储中的数据。有没有办法直接访问弹性搜索API,以便头可以工作?

解决方案

您将需要启用API在 crate.yml 文件内完成。而更改的设置是:

  es.api.enabled:true 
/ pre>

但是,Elasticsearch Plugins可能无法开箱即用,因为Crate和Elasticsearch不是二进制兼容的(您可能需要修改命名空间和导入)。 Elasticsearch在其maven配置中有一个阴影步骤,所以弹性搜索框包含不同的命名空间,然后Crate会(因为Crate不使用阴影)。


I've successfully installed the elasticsearch head plugin on crate and can access its web UI but it fails to connect. I'd like to be able to use it to visualize the data in the underlying elasticsearch store. Is there a a way to access the elasticsearch API directly so that head can work?

解决方案

You will need to enable the API which is done inside the crate.yml file. And the setting to change is:

es.api.enabled: true

However, Elasticsearch Plugins may not work out of the box because Crate and Elasticsearch aren't binary compatible (you will probably have to modify the namespaces and imports). Elasticsearch has a shading step in their maven configuration so the elasticsearch jar contains different namespaces then Crate does (because Crate doesn't use shading).

这篇关于ElasticSearch API在运行Crate时暴露在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆