laravel 操作elasticsearch 用官方文件同樣的程式碼第一次玩有點懵逼

lijizheng發表於2023-02-10

laravel 操作elasticsearch 用官方文件同樣的程式碼
報錯 {“error”:{“root_cause”:[{“type”:”mapper_parsing_exception”,”reason”:”Root mapping definition has
unsupported parameters: [my_type : {_source={enabled=true}, properties={first_name={analyzer=standard, type=string},
age={type=integer}}}]”}],”type”:”mapper_parsing_exception”,”reason”:”Failed to parse mapping [_doc]: Root mapping
definition has unsupported parameters: [my_type : {_source={enabled=true}, properties={first_name={analyzer=standard,
type=string}, age={type=integer}}}]”,”caused_by”:{“type”:”mapper_parsing_exception”,”reason”:”Root mapping definition
has unsupported parameters: [my_type : {_source={enabled=true}, properties={first_name={analyzer=standard, type=string},
age={type=integer}}}]”}},”status”:400}

本作品採用《CC 協議》,轉載必須註明作者和本文連結

相關文章