We have a bunch fields on index and we have a template defined for this index to define the mapping for these fields. However, we are adding few dynamic fields whose names prefix with a constant and name of the other fields.
For example, in template if we have fields like first_name, last_name, sometimes dynamically we are adding op_first_name, op_last_name.. etc. Is there a way to specify mapping for these dynamic fields so that they inherit mapping from original fields. Such as op_first_name mapping is same as first_name.. etch without explicitly specifying for each and every field.
We are on ES 6.5