{
"error" : {
"root_cause" : [
{
"type" : "mapper_parsing_exception",
"reason" : "No handler for type [string] declared on field [professor]"
}
],
"type" : "mapper_parsing_exception",
"reason" : "No handler for type [string] declared on field [professor]"
},
"status" : 400
}
elasticsearch 6.0v 이후로 mapping 파일의 type을 string이 아닌 text로 지정해야 한다. 파일로 돌아가 string을 text로 변경하니 해결됐다.
댓글