i write this:
PUT /my_index/_mapping/article
{
"article": {
"_source": {
"excludes": [ "date"]
}
}
}
but the result:
{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "Can't merge because of conflicts: [Cannot update enabled setting for [_source], Cannot update excludes setting for [_source]]"
}
],
"type": "illegal_argument_exception",
"reason": "Can't merge because of conflicts: [Cannot update enabled setting for [_source], Cannot update excludes setting for [_source]]"
},
"status": 400
}