启动时如何将索引模板文件加载到elasticsearch中?
问题描述:
在elasticsearch v1.5中,可以将索引模板放在模板目录 elasticsearch / config / templates
下的配置位置(path.conf)中。但是,我发现升级到v2.3或v5.3后将不会加载此模板。有什么方法可以加载索引模板吗?
In elasticsearch v1.5, Index templates can be placed within the config location (path.conf) under the templates directory elasticsearch/config/templates
. However, I found this template will not be loaded after I upgrade to v2.3 or v5.3. Is any way to load index template?
> https://www.elastic.co/guide/zh-CN/elasticsearch/reference/1.5/indices-templates.html