java.lang.IllegalArgumentException: Rejecting mapping update to [mytest] as the final mapping would have more than 1 type: [_doc, mytest]
原因:Elasticsearch 在6.0版本以后,一个index下,只允许创建一个type,不允许存在多个type。
java.lang.IllegalArgumentException: Rejecting mapping update to [mytest] as the final mapping would have more than 1 type: [_doc, mytest]
原因:Elasticsearch 在6.0版本以后,一个index下,只允许创建一个type,不允许存在多个type。