当我尝试使用命令为新表创建索引时-
model_name__elasticsearch__create_index!
这让我犯了这个错误-
Elasticsearch::Transport::Transport::Errors::BadRequest: [400] {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"unknown setting [index.read_only_allow_delete] did you mean [index.blocks.read_only_allow_delete]?"}],"type":"illegal_argument_exception","reason":"unknown setting [index.read_only_allow_delete] did you mean [index.blocks.read_only_allow_delete]?"},"status":400}
我不明白我在做什么错,我是Elasticsearch的新手,任何帮助将不胜感激。预先感谢。