问题
bug信息
elasticsearch.BadRequestError: BadRequestError(400, 'mapper_parsing_exception', 'failed to parse')
引起错误的代码
a.save()
bug分析
一开始我以为是版本问题,但是按照配置的字段属性都是正确的,如下:
class Auhtor(Document):
id = Keyword(),
name = Text(),
dynasty = Integer(),
life = Text(),
path = Text(),
url