直接报错:no write index is defined for alias [xxx]. The write index may be explicitly disabled using is_write_index=false or the alias points to multiple indices without one being designated as a write index"
看了官方的解释:
Only one index per alias can be assigned to be the write index at a time. If no write index is specified and there are multiple indices referenced by an alias, then writes will not be allowed.(也就是说同时只能有一个索引可以被写入,而且需要手动设置)
3 个回复
zz_hello
赞同来自:
rochy - rochy_he
赞同来自:
rochy - rochy_he
赞同来自:
直接报错:no write index is defined for alias [xxx]. The write index may be explicitly disabled using is_write_index=false or the alias points to multiple indices without one being designated as a write index"
看了官方的解释:
Only one index per alias can be assigned to be the write index at a time. If no write index is specified and there are multiple indices referenced by an alias, then writes will not be allowed.(也就是说同时只能有一个索引可以被写入,而且需要手动设置)