elasticsearch action.auto_create_index

如果自动创建索引报错,可以尝试配置相关自动创建索引的前缀或者规则来自动创建索引
比如 当我们使用spring-data es dto注解的时候

Automatic index creation can include a pattern based white/black list, for example, set action.auto_create_index to +aaa,-bbb,+ccc,- (+ meaning allowed, and - meaning disallowed).

编辑es/config/elasticsearch.yml 修改action.auto_create_index 增加自动索引名称规则即可
https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-index_.html

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容