Elasticsearch6.6用编程更新内容报错Invalid index name [movie2021 ], must not contain the following characters

时间:2021-01-12 11:25:49   收藏:0   阅读:0

{"root_cause":[{"type":"invalid_index_name_exception","reason":"Invalid index name [movie2021 ], must not contain the following characters [ , \", *, \\, <, |, ,, >, /, ?]","index_uuid":"_na_","index":"movie2021 "}],"type":"invalid_index_name_exception","reason":"Invalid index name [movie2021 ], must not contain the following characters [ , \", *, \\, <, |, ,, >, /, ?]","index_uuid":"_na_","index":"movie2021 "}

1,主要问题是index name出现了非法字符,导致

 

2,type 的定义默认_doc 但是如果定义为其它名字,会导致冲突

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!