How to add _size mapping to index legacy template in elasticsearch?

Hi @Amirhossein_eidy

Duplicate Question. This question has already been answered.