美文网首页
elasticsearch action.auto_creat

elasticsearch action.auto_creat

作者: 黄永超 | 来源:发表于2019-01-23 20:22 被阅读0次

    如果自动创建索引报错,可以尝试配置相关自动创建索引的前缀或者规则来自动创建索引
    比如 当我们使用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

    相关文章

      网友评论

          本文标题:elasticsearch action.auto_creat

          本文链接:https://www.haomeiwen.com/subject/iiisjqtx.html