【问题标题】:Where are the ElasticSearch APIs exposed when running Crate?运行 Crate 时 ElasticSearch API 暴露在哪里?
【发布时间】:2015-05-07 05:02:40
【问题描述】:

我已经在 crate 上成功安装了 elasticsearch head 插件,并且可以访问它的 web UI,但是连接失败。我希望能够使用它来可视化底层弹性搜索存储中的数据。有没有办法直接访问elasticsearch API,这样head就可以工作了?

【问题讨论】:

    标签: plugins elasticsearch crate


    【解决方案1】:

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

    es.api.enabled: true
    

    但是,Elasticsearch 插件可能无法开箱即用,因为 Crate 和 Elasticsearch 不是二进制兼容的(您可能必须修改命名空间和导入)。 Elasticsearch 在其 maven 配置中有一个着色步骤,因此 elasticsearch jar 包含与 Crate 不同的命名空间(因为 Crate 不使用着色)。

    【讨论】:

    • 明白,主要是我想知道 API 是否仍然可用。非常感谢!
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-11-08
    • 1970-01-01
    • 2020-06-09
    • 1970-01-01
    • 2017-04-01
    • 1970-01-01
    相关资源
    最近更新 更多