In documentation we have information that:
"index templates are deprecated and will be replaced by the composable templates".
But when we enter composable templates documentation we have statement:
"You cannot directly apply a component template to a data stream or index. To be applied, a component template must be included in an index template’s"
So I understand nothing; index templates are replaced by component templates but component templates require... index templates.
So now what will be correct syntax to apply mapping template on indices?
Suppose I have indices test_index* and want that field name 'name' is text and 'client number' is integer?