Mapper for [date] conflicts with existing mapper:\n\tCannot update parameter [format] from [yyyyMMdd HH:mm:ss||yyyyMMdd||epoch_millis] to [strict_date_optional_time||epoch_millis]
PUT http://127.0.0.1:9200/people/man/1 { "name": "wali", "country": "china", "age": 29, "date": "1988-03-10" }
报错
{ "error": { "root_cause": [ { "type": "illegal_argument_exception", "reason": "Mapper for [date] conflicts with existing mapper:\n\tCannot update parameter [format] from [yyyyMMdd HH:mm:ss||yyyyMMdd||epoch_millis] to [strict_date_optional_time||epoch_millis]" } ], "type": "illegal_argument_exception", "reason": "Mapper for [date] conflicts with existing mapper:\n\tCannot update parameter [format] from [yyyyMMdd HH:mm:ss||yyyyMMdd||epoch_millis] to [strict_date_optional_time||epoch_millis]" }, "status": 400 }