【Elasticsearch】es 别名可写 索引可写 傻傻分不清

在这里插入图片描述

1. 概述

看这个博客,首先明确一句话

索引可写是索引可写
别名可写是别名可写
两者不是一回事
配置不通

索引可写 是 index.blocks.write=false,index.blocks.read_only=false
别名可写 是 is_write_index=true
  1. bloks.read_only:true 设置当前索引只允许读不允许写或者更新,更不允许删除
  2. blocks.read:true 设置对当前索引进行读操作
  3. <

猜你喜欢

转载自blog.csdn.net/qq_21383435/article/details/109367032