-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Description
Follow up from #208496.
In elastic/elasticsearch#120505 ES introduced new warnings, in this issue we list the resolution paths for these.
Configuring source mode in mappings
This is a deprecation warning in the templates section and it refers to a component template. Resolution path requires to change the component template:
# Component template sample
{
"template": {
"mappings": {
"_source": {
"mode": "stored"
}
}
}
}
# Updated component template
{
"template": {
"settings": {
"index.mapping.source.mode": "stored"
}
}
}
Tiers via filtered allocation
This is a warning that affects individual indices, index templates, component templates and ILM policies. Here we can choose between two resolution paths:
-
We can use the migration API and deal with this holistically; So just use
POST /_ilm/migrate_to_data_tiers, it should work in most cases and I think it's worth a try. -
or if that's too"risky", we can address each index/template/policy individually. I can elaborate more depending on how we want to proceed.