gpt4 book ai didi

elasticsearch - elasticsearch启动时如何加载索引模板文件?

转载 作者:行者123 更新时间:2023-11-29 02:51:54 25 4
gpt4 key购买 nike

在 elasticsearch v1.5 中,索引模板可以放在模板目录 elasticsearch/config/templates 下的配置位置 (path.conf) 中。但是,我发现升级到v2.3 或v5.3 后,将无法加载此模板。有没有办法加载索引模板?

https://www.elastic.co/guide/en/elasticsearch/reference/1.5/indices-templates.html

最佳答案

在 2.x 或 5.x 中没有其他方式。从 2.0.0-beta1 版本的 Elasticsearch 开始,这已被删除。

这已记录在案 here .

可以找到原因和围绕此的讨论here .

关于elasticsearch - elasticsearch启动时如何加载索引模板文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44021339/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com