"Can't merge because of conflicts: [Cannot update enabled setting for [_source], Cannot update excludes setting for [_source]]"

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
}

You need to create a new index for that.

what is the same index name?

I did not get the question.

But may be this will answer: you need to delete the existing index (it will remove all data), create the index again with the right settings and reindex the original data.

oo ok thank's:tersenyum:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.